Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00197/0.00197, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002568/0.002568, allocations: 216.5 kB / 22.25 MB, free: 5.129 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.961 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.226/3.226, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [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.002035/0.002035, allocations: 67.14 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 176.1 MB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0216/0.3556, allocations: 16.8 MB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009281/0.3649, allocations: 5.003 MB / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.3662, allocations: 91.31 kB / 1.348 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.3694, allocations: 1.094 MB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.3724, allocations: 0.7777 MB / 1.35 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.3751, allocations: 0.9623 MB / 1.35 GB, free: 8.586 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.3799, allocations: 3.614 MB / 1.354 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004329/0.3842, allocations: 2.458 MB / 1.356 GB, free: 2.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3869, allocations: 1.621 MB / 1.358 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.3902, allocations: 1.877 MB / 1.36 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.3912, allocations: 340 kB / 1.36 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.3935, allocations: 0.8152 MB / 1.361 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.3959, allocations: 1.364 MB / 1.362 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.399, allocations: 1.459 MB / 1.364 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.4066, allocations: 5.14 MB / 1.369 GB, free: 5.785 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4066, allocations: 0 / 1.369 GB, free: 5.785 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4066, allocations: 0 / 1.369 GB, free: 5.785 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001594/0.4068, allocations: 0 / 1.369 GB, free: 5.785 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005685/0.4124, allocations: 2.642 MB / 1.371 GB, free: 3.098 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4125, allocations: 12.03 kB / 1.371 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.4165, allocations: 0.8459 MB / 1.372 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/0.4202, allocations: 1.539 MB / 1.374 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.4204, allocations: 177.1 kB / 1.374 GB, free: 500 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005074/0.4209, allocations: 232.4 kB / 1.374 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/0.4287, allocations: 4.158 MB / 1.378 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.4287, allocations: 12 kB / 1.378 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.429, allocations: 104 kB / 1.378 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/0.4293, allocations: 164.5 kB / 1.378 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/0.4358, allocations: 3.634 MB / 1.382 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.4559, allocations: 15.62 MB / 1.397 GB, free: 7.145 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.459, allocations: 1.477 MB / 1.399 GB, free: 5.645 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008747/0.4598, allocations: 0.5553 MB / 1.399 GB, free: 5.082 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.4599, allocations: 20.58 kB / 1.399 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.46, allocations: 43.22 kB / 1.399 GB, free: 5.008 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.46, allocations: 0 / 1.399 GB, free: 5.008 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.00581/0.4658, allocations: 3.205 MB / 1.402 GB, free: 1.781 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.4659, allocations: 111.5 kB / 1.402 GB, free: 1.648 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4673, allocations: 1.026 MB / 1.403 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.4673, allocations: 37.7 kB / 1.403 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/0.4681, allocations: 1.138 MB / 1.405 GB, free: 15.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.4684, allocations: 289.6 kB / 1.405 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.4688, allocations: 279.4 kB / 1.405 GB, free: 14.84 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.469, allocations: 414.7 kB / 1.406 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009594/0.47, allocations: 0.6167 MB / 1.406 GB, free: 13.8 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4714, allocations: 1.185 MB / 1.407 GB, free: 12.36 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.4738, allocations: 1.868 MB / 1.409 GB, free: 10.22 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.4738, allocations: 8 kB / 1.409 GB, free: 10.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00338/0.4772, allocations: 2.019 MB / 1.411 GB, free: 8.176 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4772, allocations: 12 kB / 1.411 GB, free: 8.164 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.4773, allocations: 24 kB / 1.411 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.4777, allocations: 163.3 kB / 1.411 GB, free: 7.969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4789, allocations: 343.4 kB / 1.412 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.896e-05/0.4789, allocations: 39.86 kB / 1.412 GB, free: 7.594 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.4799, allocations: 131.8 kB / 1.412 GB, free: 7.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.48, allocations: 71.98 kB / 1.412 GB, free: 7.395 MB / 1.107 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.001502/0.4815, allocations: 0.9789 MB / 1.413 GB, free: 6.406 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.4817, allocations: 115.3 kB / 1.413 GB, free: 6.293 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.4839, allocations: 1.214 MB / 1.414 GB, free: 5.059 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4839, allocations: 15.94 kB / 1.414 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4839, allocations: 0 / 1.414 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.484, allocations: 7.922 kB / 1.414 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/0.4901, allocations: 3.776 MB / 1.418 GB, free: 1.121 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4901, allocations: 4.031 kB / 1.418 GB, free: 1.117 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.4907, allocations: 155.8 kB / 1.418 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.4911, allocations: 147.4 kB / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.4911, allocations: 19.98 kB / 1.418 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.4911, allocations: 11.94 kB / 1.418 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4911, allocations: 4 kB / 1.418 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.4932, allocations: 1.47 MB / 1.42 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.4937, allocations: 203.2 kB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4939, allocations: 23.98 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.4945, allocations: 63.91 kB / 1.42 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4946, allocations: 64.42 kB / 1.42 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.4947, allocations: 24 kB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001042/0.4957, allocations: 0.6991 MB / 1.421 GB, free: 14.16 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4957, allocations: 0 / 1.421 GB, free: 14.16 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001405/0.4971, allocations: 388 kB / 1.421 GB, free: 13.79 MB / 1.123 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.0002079/0.4973, allocations: 127.1 kB / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.4996, allocations: 1.363 MB / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4996, allocations: 0 / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.5005, allocations: 0.5273 MB / 1.423 GB, free: 11.74 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.5018, allocations: 263 kB / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/0.5084, allocations: 3.833 MB / 1.427 GB, free: 7.586 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.5103, allocations: 1.927 MB / 1.429 GB, free: 5.625 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001122/0.5114, allocations: 441.4 kB / 1.429 GB, free: 5.191 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5117, allocations: 83.42 kB / 1.429 GB, free: 5.109 MB / 1.123 GB Notification: Performance of SimCode: time 8.02e-07/0.5117, allocations: 0 / 1.429 GB, free: 5.109 MB / 1.123 GB Notification: Performance of Templates: time 0.0305/0.5422, allocations: 14.72 MB / 1.444 GB, free: 6.535 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.319474319927394]