Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001394/0.001394, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.712/2.712, allocations: 476.7 MB / 0.7715 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002008/0.002008, allocations: 64.92 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04488/0.3568, allocations: 36.82 MB / 1.32 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3757, allocations: 10.34 MB / 1.33 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/0.3793, allocations: 190.6 kB / 1.33 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.3902, allocations: 3.983 MB / 1.334 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006264/0.3965, allocations: 2.146 MB / 1.336 GB, free: 5.992 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00576/0.4022, allocations: 2.041 MB / 1.338 GB, free: 3.953 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0156/0.4178, allocations: 7.968 MB / 1.346 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009837/0.4277, allocations: 5.276 MB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/0.4339, allocations: 3.478 MB / 1.355 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007156/0.441, allocations: 3.933 MB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002223/0.4433, allocations: 0.6835 MB / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.448, allocations: 1.467 MB / 1.361 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004445/0.4524, allocations: 2.673 MB / 1.363 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006566/0.459, allocations: 3.108 MB / 1.366 GB, free: 7.176 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.4731, allocations: 10.42 MB / 1.376 GB, free: 12.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4731, allocations: 0 / 1.376 GB, free: 12.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4731, allocations: 8 kB / 1.376 GB, free: 12.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002998/0.4734, allocations: 0 / 1.376 GB, free: 12.72 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01374/0.4871, allocations: 5.459 MB / 1.382 GB, free: 7.203 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4872, allocations: 8.031 kB / 1.382 GB, free: 7.195 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001472/0.4873, allocations: 125.8 kB / 1.382 GB, free: 7.07 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001571/0.4889, allocations: 0.6984 MB / 1.383 GB, free: 6.363 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.4941, allocations: 0.9928 MB / 1.384 GB, free: 5.367 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.5011, allocations: 3.136 MB / 1.387 GB, free: 2.168 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5014, allocations: 357.9 kB / 1.387 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.5028, allocations: 468.3 kB / 1.387 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.5186, allocations: 7.91 MB / 1.395 GB, free: 9.086 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.5187, allocations: 23.77 kB / 1.395 GB, free: 9.062 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/0.5193, allocations: 212 kB / 1.395 GB, free: 8.855 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005491/0.5199, allocations: 369.1 kB / 1.396 GB, free: 8.492 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.5314, allocations: 5.937 MB / 1.402 GB, free: 2.539 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04605/0.5775, allocations: 35.69 MB / 1.436 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.5812, allocations: 1.99 MB / 1.438 GB, free: 9.605 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.5833, allocations: 1.34 MB / 1.44 GB, free: 8.266 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5834, allocations: 25.25 kB / 1.44 GB, free: 8.238 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.5835, allocations: 51.88 kB / 1.44 GB, free: 8.18 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 3.076e-06/0.5835, allocations: 0 / 1.44 GB, free: 8.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01479/0.5983, allocations: 6.667 MB / 1.446 GB, free: 1.465 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.5983, allocations: 72.66 kB / 1.446 GB, free: 1.383 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.6015, allocations: 1.864 MB / 1.448 GB, free: 15.49 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.6018, allocations: 53.7 kB / 1.448 GB, free: 15.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.6035, allocations: 2.192 MB / 1.45 GB, free: 13.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/0.6042, allocations: 0.5732 MB / 1.451 GB, free: 12.64 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007989/0.605, allocations: 411.9 kB / 1.451 GB, free: 12.23 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6051, allocations: 305.1 kB / 1.452 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.6069, allocations: 1.062 MB / 1.453 GB, free: 10.87 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.6092, allocations: 1.756 MB / 1.454 GB, free: 8.789 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.6135, allocations: 3.052 MB / 1.457 GB, free: 5.426 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.6135, allocations: 7.938 kB / 1.457 GB, free: 5.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007243/0.6208, allocations: 3.903 MB / 1.461 GB, free: 1.469 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.6208, allocations: 16 kB / 1.461 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.6209, allocations: 24 kB / 1.461 GB, free: 1.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.6234, allocations: 0.9314 MB / 1.462 GB, free: 472 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.6251, allocations: 431.2 kB / 1.462 GB, free: 40 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/0.648, allocations: 21.55 MB / 1.483 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.6502, allocations: 123.9 kB / 1.484 GB, free: 8.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/0.6506, allocations: 95.94 kB / 1.484 GB, free: 8.898 MB / 1.186 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003176/0.6538, allocations: 1.65 MB / 1.485 GB, free: 7.238 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/0.6545, allocations: 266.4 kB / 1.486 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/0.6607, allocations: 3.236 MB / 1.489 GB, free: 3.691 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6607, allocations: 16 kB / 1.489 GB, free: 3.676 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/0.6608, allocations: 12 kB / 1.489 GB, free: 3.664 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.6608, allocations: 7.969 kB / 1.489 GB, free: 3.656 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.676, allocations: 7.513 MB / 1.496 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.676, allocations: 8.031 kB / 1.496 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/0.677, allocations: 215.6 kB / 1.496 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.6795, allocations: 0.8882 MB / 1.497 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6796, allocations: 32 kB / 1.497 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/0.7033, allocations: 21.51 MB / 1.518 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.7033, allocations: 7.938 kB / 1.518 GB, free: 3.926 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006402/0.7097, allocations: 3.369 MB / 1.522 GB, free: 456 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.7112, allocations: 482.2 kB / 1.522 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/0.7118, allocations: 43.81 kB / 1.522 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.7132, allocations: 87.89 kB / 1.522 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.7136, allocations: 152.9 kB / 1.522 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.7138, allocations: 44 kB / 1.522 GB, free: 15.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002223/0.716, allocations: 1.225 MB / 1.523 GB, free: 14.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.716, allocations: 0 / 1.523 GB, free: 14.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003195/0.7192, allocations: 0.9023 MB / 1.524 GB, free: 13.51 MB / 1.232 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00643/0.7256, allocations: 3.964 MB / 1.528 GB, free: 9.422 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007385/0.733, allocations: 4.291 MB / 1.532 GB, free: 4.98 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.733, allocations: 4 kB / 1.532 GB, free: 4.977 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/0.7377, allocations: 2.91 MB / 1.535 GB, free: 1.91 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/0.7421, allocations: 0.8348 MB / 1.536 GB, free: 1.09 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/0.7918, allocations: 25.24 MB / 1.561 GB, free: 6.754 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005634/0.7975, allocations: 3.213 MB / 1.564 GB, free: 3.508 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002139/0.7996, allocations: 0.5254 MB / 1.564 GB, free: 2.977 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/0.8024, allocations: 1.647 MB / 1.566 GB, free: 1.328 MB / 1.264 GB Notification: Performance of SimCode: time 1.412e-06/0.8024, allocations: 0 / 1.566 GB, free: 1.328 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7987/1.601, allocations: 72.64 MB / 1.637 GB, free: 304.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/17.31, allocations: 6.781 kB / 1.637 GB, free: 304.9 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 24.853775424009655]