Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.001318/0.001318, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001498/0.001498, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.197/3.197, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 72.14 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3691, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02294/0.3921, allocations: 16.46 MB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.4036, allocations: 6.407 MB / 1.349 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.4048, allocations: 59.69 kB / 1.349 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.4084, allocations: 1.307 MB / 1.351 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.4107, allocations: 0.883 MB / 1.352 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.4147, allocations: 1.551 MB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005332/0.42, allocations: 3.847 MB / 1.357 GB, free: 2.348 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.4242, allocations: 2.57 MB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.4278, allocations: 1.695 MB / 1.361 GB, free: 14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.4313, allocations: 2.107 MB / 1.363 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007017/0.432, allocations: 380 kB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.4338, allocations: 0.8036 MB / 1.364 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.4356, allocations: 1.528 MB / 1.366 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.4378, allocations: 1.245 MB / 1.367 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006864/0.4447, allocations: 5.604 MB / 1.372 GB, free: 2.316 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4447, allocations: 0 / 1.372 GB, free: 2.316 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4447, allocations: 0 / 1.372 GB, free: 2.316 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001436/0.4448, allocations: 0 / 1.372 GB, free: 2.316 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006227/0.451, allocations: 2.721 MB / 1.375 GB, free: 15.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.4511, allocations: 12.02 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005428/0.4565, allocations: 0.9084 MB / 1.376 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.4605, allocations: 1.418 MB / 1.377 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4607, allocations: 193.5 kB / 1.378 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007074/0.4614, allocations: 252.4 kB / 1.378 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.4708, allocations: 4.797 MB / 1.382 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-05/0.4708, allocations: 11.92 kB / 1.383 GB, free: 7.691 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.4712, allocations: 112 kB / 1.383 GB, free: 7.582 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/0.4714, allocations: 176.3 kB / 1.383 GB, free: 7.406 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.479, allocations: 3.922 MB / 1.387 GB, free: 3.477 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.504, allocations: 14.26 MB / 1.401 GB, free: 4.676 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.5065, allocations: 1.304 MB / 1.402 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.5076, allocations: 0.6916 MB / 1.402 GB, free: 2.586 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.5077, allocations: 12 kB / 1.402 GB, free: 2.574 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.5077, allocations: 47.38 kB / 1.403 GB, free: 2.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=62): time 3.717e-06/0.5077, allocations: 0 / 1.403 GB, free: 2.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=68): time 0.006663/0.5144, allocations: 4.377 MB / 1.407 GB, free: 14.11 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.5145, allocations: 247.3 kB / 1.407 GB, free: 13.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.5165, allocations: 1.177 MB / 1.408 GB, free: 12.63 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.5166, allocations: 37.7 kB / 1.408 GB, free: 12.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009771/0.5175, allocations: 1.231 MB / 1.409 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.5178, allocations: 273.9 kB / 1.41 GB, free: 11.07 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/0.5184, allocations: 335.3 kB / 1.41 GB, free: 10.74 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5186, allocations: 345.9 kB / 1.41 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.5199, allocations: 0.7503 MB / 1.411 GB, free: 9.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.5219, allocations: 1.45 MB / 1.412 GB, free: 7.863 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.525, allocations: 2.189 MB / 1.415 GB, free: 5.344 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.525, allocations: 8 kB / 1.415 GB, free: 5.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004118/0.5291, allocations: 2.274 MB / 1.417 GB, free: 3.055 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.5292, allocations: 16 kB / 1.417 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.5292, allocations: 24 kB / 1.417 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.662e-05/0.5292, allocations: 35.94 kB / 1.417 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.531, allocations: 447.2 kB / 1.417 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.527e-05/0.5311, allocations: 55.94 kB / 1.417 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.5331, allocations: 243.4 kB / 1.418 GB, free: 2.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5332, allocations: 79.98 kB / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002709/0.5359, allocations: 1.589 MB / 1.419 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001843/0.5378, allocations: 1.361 MB / 1.421 GB, free: 14.87 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002806/0.5406, allocations: 2.023 MB / 1.423 GB, free: 12.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.116e-05/0.5406, allocations: 8 kB / 1.423 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003783/0.5444, allocations: 2.062 MB / 1.425 GB, free: 10.42 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.5444, allocations: 16.95 kB / 1.425 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.5444, allocations: 28 kB / 1.425 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.5445, allocations: 32 kB / 1.425 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.546, allocations: 415.3 kB / 1.425 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.826e-05/0.5461, allocations: 55.72 kB / 1.425 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5478, allocations: 187.6 kB / 1.425 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.548, allocations: 87.97 kB / 1.425 GB, free: 9.613 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000422/0.5484, allocations: 288.1 kB / 1.426 GB, free: 9.324 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.5487, allocations: 103.3 kB / 1.426 GB, free: 9.223 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.5505, allocations: 1.1 MB / 1.427 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.5505, allocations: 11.92 kB / 1.427 GB, free: 8.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5505, allocations: 0 / 1.427 GB, free: 8.105 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.5511, allocations: 235.1 kB / 1.427 GB, free: 7.875 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.5513, allocations: 16 kB / 1.427 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.5526, allocations: 179.7 kB / 1.427 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5527, allocations: 51.86 kB / 1.427 GB, free: 7.633 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002183/0.5549, allocations: 1.733 MB / 1.429 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002102/0.557, allocations: 1.807 MB / 1.431 GB, free: 4.055 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006881/0.5577, allocations: 491.5 kB / 1.431 GB, free: 3.574 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001449/0.5591, allocations: 0.7843 MB / 1.432 GB, free: 2.777 MB / 1.123 GB Notification: Performance of Backend: time 3e-07/0.5591, allocations: 4 kB / 1.432 GB, free: 2.773 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.5646, allocations: 2.308 MB / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of SimCode: time 0.007184/0.5718, allocations: 4.146 MB / 1.438 GB, free: 12.27 MB / 1.139 GB Notification: Performance of Templates: time 0.05193/0.6237, allocations: 30.17 MB / 1.468 GB, free: 14.38 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.927375552993908]