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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 106.7 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 192.2 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8212, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01969/0.841, allocations: 16.03 MB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008075/0.8491, allocations: 4.82 MB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.8504, allocations: 67.69 kB / 1.229 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.8533, allocations: 1.045 MB / 1.23 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.8554, allocations: 0.7464 MB / 1.23 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.8576, allocations: 0.9153 MB / 1.231 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003796/0.8614, allocations: 3.614 MB / 1.235 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005275/0.8667, allocations: 4.754 MB / 1.239 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.8691, allocations: 1.582 MB / 1.241 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.8719, allocations: 1.78 MB / 1.243 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006343/0.8725, allocations: 340 kB / 1.243 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.8742, allocations: 0.7959 MB / 1.244 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.8755, allocations: 1.326 MB / 1.245 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.8772, allocations: 1.455 MB / 1.247 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004514/0.8818, allocations: 5.136 MB / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8818, allocations: 0 / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8818, allocations: 0 / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001272/0.8819, allocations: 0 / 1.252 GB, free: 1.02 MB / 0.9669 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.005091/0.887, allocations: 2.658 MB / 1.254 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.8871, allocations: 8.031 kB / 1.254 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.891, allocations: 0.8329 MB / 1.255 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.8939, allocations: 1.568 MB / 1.257 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.894, allocations: 177.1 kB / 1.257 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.8945, allocations: 236.3 kB / 1.257 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007154/0.9017, allocations: 4.161 MB / 1.261 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.792e-05/0.9018, allocations: 11.94 kB / 1.261 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.902, allocations: 99.98 kB / 1.261 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.9022, allocations: 172.5 kB / 1.261 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005643/0.9079, allocations: 3.632 MB / 1.265 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.9248, allocations: 16.42 MB / 1.281 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.9279, allocations: 2.288 MB / 1.283 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.9287, allocations: 0.578 MB / 1.284 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.9289, allocations: 97.66 kB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.9289, allocations: 43.06 kB / 1.284 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.765e-06/0.9289, allocations: 3.938 kB / 1.284 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005012/0.9339, allocations: 3.432 MB / 1.287 GB, free: 10.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.934, allocations: 111.5 kB / 1.287 GB, free: 10.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.9351, allocations: 1.014 MB / 1.288 GB, free: 9.391 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.9352, allocations: 41.7 kB / 1.288 GB, free: 9.344 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.9358, allocations: 1.103 MB / 1.289 GB, free: 8.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.936, allocations: 272.2 kB / 1.29 GB, free: 7.953 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.9363, allocations: 283.2 kB / 1.29 GB, free: 7.672 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.9365, allocations: 414.7 kB / 1.29 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.9374, allocations: 0.6089 MB / 1.291 GB, free: 6.648 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.9385, allocations: 1.197 MB / 1.292 GB, free: 5.188 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.9406, allocations: 1.864 MB / 1.294 GB, free: 3.059 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.9406, allocations: 7.938 kB / 1.294 GB, free: 3.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002922/0.9435, allocations: 2.011 MB / 1.296 GB, free: 1.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.9436, allocations: 22.28 kB / 1.296 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.9436, allocations: 16 kB / 1.296 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.944, allocations: 163.3 kB / 1.296 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.9451, allocations: 351.4 kB / 1.296 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-05/0.9452, allocations: 40.08 kB / 1.296 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/0.9461, allocations: 127.7 kB / 1.296 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/0.9462, allocations: 67.98 kB / 1.297 GB, free: 244 kB / 1.014 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.001455/0.9476, allocations: 0.9733 MB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.9479, allocations: 106.7 kB / 1.298 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.9501, allocations: 1.23 MB / 1.299 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.9501, allocations: 11.92 kB / 1.299 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9501, allocations: 0 / 1.299 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.9506, allocations: 271.7 kB / 1.299 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.9507, allocations: 16 kB / 1.299 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.9512, allocations: 63.91 kB / 1.299 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.9514, allocations: 56.58 kB / 1.299 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002271/0.9537, allocations: 1.428 MB / 1.301 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002177/0.9559, allocations: 1.91 MB / 1.302 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005788/0.9564, allocations: 476.9 kB / 1.303 GB, free: 9.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008613/0.9573, allocations: 0.6914 MB / 1.304 GB, free: 8.918 MB / 1.029 GB Notification: Performance of Backend: time 3.3e-07/0.9573, allocations: 0 / 1.304 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.9602, allocations: 1.644 MB / 1.305 GB, free: 7.188 MB / 1.029 GB Notification: Performance of SimCode: time 0.006064/0.9663, allocations: 4.024 MB / 1.309 GB, free: 3.105 MB / 1.029 GB Notification: Performance of Templates: time 0.03298/0.9993, allocations: 18.43 MB / 1.327 GB, free: 0.8281 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches