Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001482/0.001482, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00148/0.00148, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 2.953/2.953, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) [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.001869/0.001869, allocations: 60.5 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04279/0.3565, allocations: 36.39 MB / 1.362 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.3757, allocations: 11.09 MB / 1.373 GB, free: 1.844 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3795, allocations: 198.6 kB / 1.373 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.3913, allocations: 4.368 MB / 1.377 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.3984, allocations: 2.328 MB / 1.38 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.4043, allocations: 2.181 MB / 1.382 GB, free: 8.754 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.4163, allocations: 9.273 MB / 1.391 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009657/0.426, allocations: 6.396 MB / 1.397 GB, free: 8.93 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.4321, allocations: 4.133 MB / 1.401 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007625/0.4398, allocations: 4.751 MB / 1.406 GB, free: 20 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.4419, allocations: 0.8243 MB / 1.407 GB, free: 15.19 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.4457, allocations: 1.506 MB / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004449/0.4502, allocations: 3.242 MB / 1.411 GB, free: 10.44 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007241/0.4574, allocations: 2.961 MB / 1.414 GB, free: 7.465 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.4735, allocations: 12.41 MB / 1.426 GB, free: 11.02 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4735, allocations: 0 / 1.426 GB, free: 11.02 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4735, allocations: 0 / 1.426 GB, free: 11.02 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003891/0.4739, allocations: 0 / 1.426 GB, free: 11.02 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01858/0.4925, allocations: 6.408 MB / 1.433 GB, free: 4.551 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.4925, allocations: 12.03 kB / 1.433 GB, free: 4.539 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002416/0.4928, allocations: 155.6 kB / 1.433 GB, free: 4.387 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002885/0.4957, allocations: 0.8216 MB / 1.434 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/0.5022, allocations: 1.094 MB / 1.435 GB, free: 2.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008269/0.5105, allocations: 3.576 MB / 1.438 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.5109, allocations: 423.7 kB / 1.438 GB, free: 14.4 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.5127, allocations: 0.5355 MB / 1.439 GB, free: 13.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.534, allocations: 10.28 MB / 1.449 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.5342, allocations: 19.83 kB / 1.449 GB, free: 3.008 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/0.536, allocations: 252 kB / 1.449 GB, free: 2.762 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007264/0.5367, allocations: 422.9 kB / 1.45 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.5522, allocations: 7.123 MB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/0.5958, allocations: 26.27 MB / 1.482 GB, free: 308 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/0.6008, allocations: 2.902 MB / 1.485 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.6039, allocations: 1.934 MB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.604, allocations: 26 kB / 1.487 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.6041, allocations: 56.56 kB / 1.487 GB, free: 11.37 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.448e-06/0.6041, allocations: 0 / 1.487 GB, free: 11.37 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02464/0.6287, allocations: 10.28 MB / 1.497 GB, free: 1.078 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.6288, allocations: 73.41 kB / 1.497 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.632, allocations: 2.006 MB / 1.499 GB, free: 14.97 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.6323, allocations: 65.7 kB / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.6342, allocations: 2.478 MB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008288/0.635, allocations: 0.763 MB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000923/0.6359, allocations: 481.5 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.636, allocations: 309.1 kB / 1.503 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.6382, allocations: 1.372 MB / 1.504 GB, free: 9.469 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.6409, allocations: 2.112 MB / 1.507 GB, free: 7.043 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005036/0.6459, allocations: 3.766 MB / 1.51 GB, free: 2.969 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.6459, allocations: 12 kB / 1.51 GB, free: 2.957 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008646/0.6546, allocations: 5.023 MB / 1.515 GB, free: 13.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.6546, allocations: 16 kB / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.6546, allocations: 20 kB / 1.515 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/0.6583, allocations: 1.581 MB / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.6601, allocations: 451.2 kB / 1.517 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.6837, allocations: 17.92 MB / 1.535 GB, free: 9.473 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.6859, allocations: 147.8 kB / 1.535 GB, free: 9.328 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/0.6863, allocations: 108 kB / 1.535 GB, free: 9.223 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003349/0.6896, allocations: 1.945 MB / 1.537 GB, free: 7.266 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007379/0.6904, allocations: 298.2 kB / 1.537 GB, free: 6.973 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/0.6979, allocations: 4.4 MB / 1.541 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.6979, allocations: 20 kB / 1.541 GB, free: 2.52 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/0.6979, allocations: 16 kB / 1.541 GB, free: 2.504 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.698, allocations: 15.89 kB / 1.541 GB, free: 2.488 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.7155, allocations: 9.169 MB / 1.55 GB, free: 9.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.7155, allocations: 4 kB / 1.55 GB, free: 9.176 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7165, allocations: 235.6 kB / 1.551 GB, free: 8.945 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/0.72, allocations: 1.419 MB / 1.552 GB, free: 7.516 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.7202, allocations: 40 kB / 1.552 GB, free: 7.477 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/0.7441, allocations: 17.93 MB / 1.57 GB, free: 5.09 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.7441, allocations: 4 kB / 1.57 GB, free: 5.086 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008088/0.7522, allocations: 4.507 MB / 1.574 GB, free: 500 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.7538, allocations: 0.5683 MB / 1.574 GB, free: 15.92 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006547/0.7545, allocations: 40 kB / 1.575 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.756, allocations: 119.8 kB / 1.575 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/0.7566, allocations: 189.5 kB / 1.575 GB, free: 15.58 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.7568, allocations: 60 kB / 1.575 GB, free: 15.52 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002221/0.759, allocations: 1.311 MB / 1.576 GB, free: 14.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.759, allocations: 4 kB / 1.576 GB, free: 14.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003451/0.7624, allocations: 1.141 MB / 1.577 GB, free: 13.05 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007731/0.7702, allocations: 5.122 MB / 1.582 GB, free: 7.836 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007647/0.7778, allocations: 4.552 MB / 1.587 GB, free: 3.23 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.7778, allocations: 4 kB / 1.587 GB, free: 3.227 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004821/0.7826, allocations: 2.8 MB / 1.589 GB, free: 384 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/0.7874, allocations: 0.89 MB / 1.59 GB, free: 15.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6711/1.458, allocations: 30.55 MB / 1.62 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/1.463, allocations: 3.16 MB / 1.623 GB, free: 250.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00207/1.465, allocations: 0.5644 MB / 1.624 GB, free: 250.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/1.467, allocations: 1.949 MB / 1.626 GB, free: 249.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.467, allocations: 0 / 1.626 GB, free: 249.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.595, allocations: 91.06 MB / 1.715 GB, free: 178.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.25, allocations: 8.062 kB / 1.715 GB, free: 178.3 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.66434568306431]