Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8754/0.8754, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.186e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01155/0.01157, allocations: 15.17 MB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.0169, allocations: 4.73 MB / 1.02 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.01775, allocations: 83.38 kB / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.01912, allocations: 1.06 MB / 1.021 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.02015, allocations: 0.8079 MB / 1.022 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.02133, allocations: 0.9178 MB / 1.023 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.02347, allocations: 3.68 MB / 1.027 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.02572, allocations: 2.446 MB / 1.029 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.02744, allocations: 2.269 MB / 1.031 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.02874, allocations: 1.684 MB / 1.033 GB, free: 12 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.029, allocations: 340 kB / 1.033 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.02982, allocations: 0.7643 MB / 1.034 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009816/0.0308, allocations: 1.426 MB / 1.035 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.03148, allocations: 1.01 MB / 1.036 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.03466, allocations: 5.248 MB / 1.042 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.03466, allocations: 0 / 1.042 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.03466, allocations: 0 / 1.042 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.199e-05/0.03472, allocations: 0 / 1.042 GB, free: 3.195 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003/0.03772, allocations: 2.613 MB / 1.044 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.03775, allocations: 11.97 kB / 1.044 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4185/0.4562, allocations: 0.8468 MB / 1.045 GB, free: 81.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.4583, allocations: 1.528 MB / 1.046 GB, free: 80.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.4584, allocations: 180.5 kB / 1.047 GB, free: 80.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.4587, allocations: 234.6 kB / 1.047 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.4625, allocations: 4.261 MB / 1.051 GB, free: 79.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.4625, allocations: 10.89 kB / 1.051 GB, free: 79.06 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.4627, allocations: 96.77 kB / 1.051 GB, free: 78.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.4628, allocations: 171.3 kB / 1.051 GB, free: 78.97 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.4658, allocations: 3.631 MB / 1.055 GB, free: 77.79 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007046/0.4728, allocations: 10.45 MB / 1.065 GB, free: 71.56 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4744, allocations: 1.464 MB / 1.066 GB, free: 71.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.4749, allocations: 0.5452 MB / 1.067 GB, free: 70.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.475, allocations: 18.17 kB / 1.067 GB, free: 70.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.475, allocations: 41.88 kB / 1.067 GB, free: 70.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=72): time 3.447e-06/0.475, allocations: 2.656 kB / 1.067 GB, free: 70.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.00311/0.4781, allocations: 3.207 MB / 1.07 GB, free: 69.31 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4781, allocations: 114.2 kB / 1.07 GB, free: 69.19 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.4789, allocations: 1.043 MB / 1.071 GB, free: 68.74 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.4789, allocations: 36.33 kB / 1.071 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4792, allocations: 1.136 MB / 1.072 GB, free: 67.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4794, allocations: 286.6 kB / 1.073 GB, free: 67.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.4796, allocations: 285.2 kB / 1.073 GB, free: 67.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.4797, allocations: 407.8 kB / 1.073 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.4802, allocations: 0.6158 MB / 1.074 GB, free: 66.92 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.4809, allocations: 1.196 MB / 1.075 GB, free: 65.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.4825, allocations: 1.863 MB / 1.077 GB, free: 64.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.4825, allocations: 5.219 kB / 1.077 GB, free: 64.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00193/0.4844, allocations: 2.014 MB / 1.079 GB, free: 63.94 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4845, allocations: 12.81 kB / 1.079 GB, free: 63.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.4845, allocations: 19 kB / 1.079 GB, free: 63.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.4847, allocations: 171.2 kB / 1.079 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.4854, allocations: 343.9 kB / 1.079 GB, free: 63.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.4854, allocations: 41.61 kB / 1.079 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.4859, allocations: 125.6 kB / 1.08 GB, free: 63.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.486, allocations: 72.19 kB / 1.08 GB, free: 63.78 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008477/0.4868, allocations: 0.977 MB / 1.081 GB, free: 63.33 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4869, allocations: 112 kB / 1.081 GB, free: 63.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.4881, allocations: 1.231 MB / 1.082 GB, free: 62.76 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4881, allocations: 8.25 kB / 1.082 GB, free: 62.76 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4881, allocations: 2.438 kB / 1.082 GB, free: 62.76 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4881, allocations: 6.938 kB / 1.082 GB, free: 62.76 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.4909, allocations: 2.879 MB / 1.085 GB, free: 61.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4909, allocations: 1.469 kB / 1.085 GB, free: 61.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.4912, allocations: 157.8 kB / 1.085 GB, free: 61.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.4914, allocations: 142.3 kB / 1.085 GB, free: 61.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4915, allocations: 19.19 kB / 1.085 GB, free: 61.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4915, allocations: 8.656 kB / 1.085 GB, free: 61.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4915, allocations: 2.562 kB / 1.085 GB, free: 61.44 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4926, allocations: 1.462 MB / 1.087 GB, free: 60.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.4928, allocations: 204.4 kB / 1.087 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.4929, allocations: 18.69 kB / 1.087 GB, free: 60.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.4932, allocations: 68.98 kB / 1.087 GB, free: 60.52 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.4933, allocations: 60.94 kB / 1.087 GB, free: 60.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4933, allocations: 24.31 kB / 1.087 GB, free: 60.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005132/0.4938, allocations: 0.6929 MB / 1.088 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4938, allocations: 1.156 kB / 1.088 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008619/0.4947, allocations: 386.3 kB / 1.088 GB, free: 60.18 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.4948, allocations: 128.9 kB / 1.088 GB, free: 60.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.4962, allocations: 1.356 MB / 1.089 GB, free: 59.61 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4962, allocations: 2 kB / 1.089 GB, free: 59.61 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.4967, allocations: 0.5377 MB / 1.09 GB, free: 59.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.4976, allocations: 261.4 kB / 1.09 GB, free: 59.33 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.5015, allocations: 4.173 MB / 1.094 GB, free: 57.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.5028, allocations: 1.374 MB / 1.096 GB, free: 56.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.503, allocations: 98.95 kB / 1.096 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of SimCode: time 7.81e-07/0.503, allocations: 4 kB / 1.096 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.04492/0.5479, allocations: 74.26 MB / 1.168 GB, free: 12.49 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.829641285352409]