Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001566/0.001566, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001763/0.001763, allocations: 219.4 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.591/2.591, allocations: 476.7 MB / 0.7715 GB, free: 4.27 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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001951/0.001951, allocations: 61.86 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3009, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03864/0.3395, allocations: 32.14 MB / 1.316 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3624, allocations: 14.02 MB / 1.329 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004812/0.3672, allocations: 186.6 kB / 1.329 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009379/0.3766, allocations: 3.344 MB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009621/0.3862, allocations: 2.786 MB / 1.335 GB, free: 7.055 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006051/0.3923, allocations: 2.066 MB / 1.337 GB, free: 4.988 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.4041, allocations: 7.633 MB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007945/0.4121, allocations: 4.646 MB / 1.349 GB, free: 8.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006491/0.4186, allocations: 3.517 MB / 1.353 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00723/0.4258, allocations: 3.566 MB / 1.356 GB, free: 1.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.4279, allocations: 0.5938 MB / 1.357 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.4321, allocations: 1.525 MB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.4358, allocations: 2.431 MB / 1.361 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004899/0.4407, allocations: 2.878 MB / 1.364 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.4533, allocations: 9.492 MB / 1.373 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4533, allocations: 0 / 1.373 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4533, allocations: 0 / 1.373 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002563/0.4536, allocations: 0 / 1.373 GB, free: 0.4922 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01172/0.4653, allocations: 5.187 MB / 1.378 GB, free: 11.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4653, allocations: 8.031 kB / 1.378 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001265/0.4655, allocations: 112.7 kB / 1.378 GB, free: 11.11 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.4665, allocations: 0.6242 MB / 1.379 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/0.4723, allocations: 1.024 MB / 1.38 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/0.48, allocations: 3.021 MB / 1.383 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.4803, allocations: 320.6 kB / 1.383 GB, free: 6.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.4814, allocations: 419.9 kB / 1.383 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.4943, allocations: 6.78 MB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.4944, allocations: 23.81 kB / 1.39 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007345/0.4952, allocations: 187.9 kB / 1.39 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/0.4962, allocations: 372 kB / 1.39 GB, free: 13.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009955/0.5061, allocations: 5.118 MB / 1.395 GB, free: 8.828 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04096/0.5471, allocations: 30.26 MB / 1.425 GB, free: 7.797 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.5493, allocations: 1.313 MB / 1.426 GB, free: 6.477 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.5512, allocations: 1.25 MB / 1.428 GB, free: 5.227 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.5513, allocations: 13.31 kB / 1.428 GB, free: 5.211 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.5514, allocations: 51.81 kB / 1.428 GB, free: 5.152 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.427e-06/0.5514, allocations: 0 / 1.428 GB, free: 5.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.0882/0.6396, allocations: 22.85 MB / 1.45 GB, free: 14.24 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.6397, allocations: 73.41 kB / 1.45 GB, free: 14.16 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.6426, allocations: 2.066 MB / 1.452 GB, free: 12.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.6429, allocations: 57.7 kB / 1.452 GB, free: 12.01 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.6445, allocations: 2.063 MB / 1.454 GB, free: 9.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007713/0.6453, allocations: 0.7126 MB / 1.455 GB, free: 9.211 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00076/0.6461, allocations: 416.4 kB / 1.455 GB, free: 8.797 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6462, allocations: 305.1 kB / 1.455 GB, free: 8.496 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.6484, allocations: 1.426 MB / 1.457 GB, free: 7.066 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/0.651, allocations: 2.021 MB / 1.459 GB, free: 4.797 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.656, allocations: 3.692 MB / 1.462 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6561, allocations: 4 kB / 1.462 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01144/0.6675, allocations: 5.596 MB / 1.468 GB, free: 11.2 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.6675, allocations: 16 kB / 1.468 GB, free: 11.18 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.6676, allocations: 16 kB / 1.468 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00684/0.6744, allocations: 2.088 MB / 1.47 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6759, allocations: 379.3 kB / 1.47 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04164/0.7175, allocations: 36.62 MB / 1.506 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.7198, allocations: 127.9 kB / 1.506 GB, free: 1.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.7199, allocations: 92 kB / 1.506 GB, free: 1.746 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002443/0.7224, allocations: 1.508 MB / 1.508 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/0.7229, allocations: 302.2 kB / 1.508 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.7333, allocations: 5.133 MB / 1.513 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.7333, allocations: 23.94 kB / 1.513 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/0.7334, allocations: 20 kB / 1.513 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.7334, allocations: 11.95 kB / 1.513 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.7506, allocations: 9.582 MB / 1.522 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7506, allocations: 8 kB / 1.522 GB, free: 0.875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.7515, allocations: 215.6 kB / 1.523 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/0.7573, allocations: 1.838 MB / 1.524 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.7574, allocations: 44 kB / 1.525 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03934/0.7967, allocations: 35.62 MB / 1.559 GB, free: 9.027 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.7968, allocations: 8 kB / 1.559 GB, free: 9.02 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/0.8061, allocations: 4.871 MB / 1.564 GB, free: 3.992 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8076, allocations: 0.5488 MB / 1.565 GB, free: 3.441 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.8079, allocations: 47.94 kB / 1.565 GB, free: 3.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.8093, allocations: 127.8 kB / 1.565 GB, free: 3.27 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/0.8099, allocations: 197.5 kB / 1.565 GB, free: 3.074 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.81, allocations: 64 kB / 1.565 GB, free: 3.012 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001983/0.812, allocations: 1.378 MB / 1.566 GB, free: 1.625 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/0.812, allocations: 3.938 kB / 1.566 GB, free: 1.621 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003161/0.8152, allocations: 1.047 MB / 1.567 GB, free: 0.5742 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009555/0.8247, allocations: 5.475 MB / 1.573 GB, free: 10.93 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.8351, allocations: 6.003 MB / 1.579 GB, free: 4.699 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.8351, allocations: 4.188 kB / 1.579 GB, free: 4.695 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00687/0.842, allocations: 4.276 MB / 1.583 GB, free: 184 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/0.8461, allocations: 0.9964 MB / 1.584 GB, free: 15.21 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6274/1.473, allocations: 30.74 MB / 1.614 GB, free: 302.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006449/1.48, allocations: 3.121 MB / 1.617 GB, free: 302.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001987/1.482, allocations: 0.5186 MB / 1.617 GB, free: 302.1 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.483, allocations: 1.673 MB / 1.619 GB, free: 302.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.032e-06/1.483, allocations: 0.8438 kB / 1.619 GB, free: 302.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/1.652, allocations: 91.01 MB / 1.708 GB, free: 239.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/18.13, allocations: 3.594 kB / 1.708 GB, free: 239.8 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.467422500019893]