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.001813/0.001813, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002136/0.002136, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.789 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.746/2.746, allocations: 476 MB / 0.7699 GB, free: 4.762 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="me",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="me",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.00211/0.00211, allocations: 71.52 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2677, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04449/0.3122, allocations: 33.67 MB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.3302, allocations: 10.02 MB / 1.325 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.3337, allocations: 198.5 kB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.3444, allocations: 3.82 MB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.3502, allocations: 2.15 MB / 1.331 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.3552, allocations: 1.964 MB / 1.333 GB, free: 8.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.3655, allocations: 7.976 MB / 1.341 GB, free: 444 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00937/0.3749, allocations: 5.221 MB / 1.346 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.3807, allocations: 3.494 MB / 1.349 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/0.3872, allocations: 3.691 MB / 1.353 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.3889, allocations: 0.6797 MB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.3925, allocations: 1.362 MB / 1.355 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004274/0.3968, allocations: 2.677 MB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005265/0.402, allocations: 2.525 MB / 1.36 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4153, allocations: 10.46 MB / 1.37 GB, free: 2.133 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4153, allocations: 4 kB / 1.37 GB, free: 2.129 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4153, allocations: 3.938 kB / 1.37 GB, free: 2.125 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003074/0.4156, allocations: 0 / 1.37 GB, free: 2.125 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01263/0.4283, allocations: 5.461 MB / 1.376 GB, free: 12.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4283, allocations: 8.031 kB / 1.376 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/0.4294, allocations: 0.7023 MB / 1.376 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.4339, allocations: 0.9812 MB / 1.377 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007597/0.4415, allocations: 3.132 MB / 1.38 GB, free: 7.699 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.4419, allocations: 361.9 kB / 1.381 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009671/0.4428, allocations: 472.3 kB / 1.381 GB, free: 6.883 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4586, allocations: 8.673 MB / 1.39 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.4587, allocations: 15.88 kB / 1.39 GB, free: 13.65 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005562/0.4593, allocations: 212 kB / 1.39 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005684/0.4599, allocations: 373 kB / 1.39 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4712, allocations: 5.929 MB / 1.396 GB, free: 7.129 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.5075, allocations: 23.74 MB / 1.419 GB, free: 14.71 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.5112, allocations: 1.991 MB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.5133, allocations: 1.337 MB / 1.422 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.5133, allocations: 13.31 kB / 1.423 GB, free: 11.35 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.5134, allocations: 51.88 kB / 1.423 GB, free: 11.29 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.887e-06/0.5134, allocations: 4 kB / 1.423 GB, free: 11.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01415/0.5275, allocations: 6.667 MB / 1.429 GB, free: 4.578 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.5276, allocations: 72.66 kB / 1.429 GB, free: 4.496 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.5303, allocations: 1.903 MB / 1.431 GB, free: 2.566 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5304, allocations: 61.64 kB / 1.431 GB, free: 2.5 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.5321, allocations: 2.188 MB / 1.433 GB, free: 300 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/0.5327, allocations: 0.5812 MB / 1.434 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/0.5333, allocations: 404 kB / 1.434 GB, free: 15.3 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5335, allocations: 301.1 kB / 1.434 GB, free: 15 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.5352, allocations: 1.062 MB / 1.435 GB, free: 13.94 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.5376, allocations: 1.764 MB / 1.437 GB, free: 11.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/0.5421, allocations: 3.045 MB / 1.44 GB, free: 8.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.5421, allocations: 8 kB / 1.44 GB, free: 8.492 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007187/0.5493, allocations: 3.914 MB / 1.444 GB, free: 4.535 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.5493, allocations: 16 kB / 1.444 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.5493, allocations: 28.12 kB / 1.444 GB, free: 4.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.552, allocations: 0.9272 MB / 1.445 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5536, allocations: 427.2 kB / 1.445 GB, free: 3.109 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/0.577, allocations: 21.37 MB / 1.466 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.5793, allocations: 128 kB / 1.466 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/0.5796, allocations: 99.94 kB / 1.466 GB, free: 12.13 MB / 1.17 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.002951/0.5826, allocations: 1.645 MB / 1.468 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.5831, allocations: 266.3 kB / 1.468 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.589, allocations: 3.244 MB / 1.471 GB, free: 6.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.5891, allocations: 16 kB / 1.471 GB, free: 6.895 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.5891, allocations: 8 kB / 1.471 GB, free: 6.887 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5891, allocations: 7.969 kB / 1.472 GB, free: 6.879 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.6025, allocations: 7.158 MB / 1.478 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.6025, allocations: 4 kB / 1.478 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.6035, allocations: 215.6 kB / 1.479 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.606, allocations: 0.8967 MB / 1.48 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.6061, allocations: 35.98 kB / 1.48 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/0.6301, allocations: 21.35 MB / 1.5 GB, free: 7.668 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6301, allocations: 4 kB / 1.5 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.6361, allocations: 3.373 MB / 1.504 GB, free: 4.176 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.6374, allocations: 474.2 kB / 1.504 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.6377, allocations: 39.94 kB / 1.504 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6388, allocations: 99.89 kB / 1.504 GB, free: 3.574 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/0.6391, allocations: 144.9 kB / 1.504 GB, free: 3.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6393, allocations: 44 kB / 1.505 GB, free: 3.387 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001935/0.6412, allocations: 1.225 MB / 1.506 GB, free: 2.148 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6412, allocations: 0 / 1.506 GB, free: 2.148 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002984/0.6442, allocations: 0.9062 MB / 1.507 GB, free: 1.242 MB / 1.201 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.006179/0.6504, allocations: 3.969 MB / 1.51 GB, free: 13.15 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007187/0.6575, allocations: 4.287 MB / 1.515 GB, free: 8.711 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.6576, allocations: 4 kB / 1.515 GB, free: 8.707 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/0.6622, allocations: 2.903 MB / 1.518 GB, free: 5.648 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/0.6656, allocations: 0.8405 MB / 1.518 GB, free: 4.82 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04231/0.7079, allocations: 25.22 MB / 1.543 GB, free: 10.51 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/0.7117, allocations: 2.665 MB / 1.546 GB, free: 7.809 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001827/0.7135, allocations: 0.5293 MB / 1.546 GB, free: 7.273 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/0.7157, allocations: 1.663 MB / 1.548 GB, free: 5.613 MB / 1.248 GB Notification: Performance of SimCode: time 9.32e-07/0.7157, allocations: 0 / 1.548 GB, free: 5.613 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7097/1.425, allocations: 75.03 MB / 1.621 GB, free: 297.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.65, allocations: 10.2 kB / 1.621 GB, free: 297.5 MB / 1.295 GB " [Timeout remaining time 284] (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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.59815498488024]