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.001767/0.001767, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002209/0.002209, allocations: 216.7 kB / 22.25 MB, free: 5.082 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.02 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.753/2.753, allocations: 476.7 MB / 0.7707 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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001969/0.001969, allocations: 67.66 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04064/0.3398, allocations: 32.15 MB / 1.315 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3641, allocations: 14.02 MB / 1.328 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.3674, allocations: 198.4 kB / 1.329 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008983/0.3764, allocations: 3.333 MB / 1.332 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.3845, allocations: 2.791 MB / 1.335 GB, free: 7.035 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.39, allocations: 2.066 MB / 1.337 GB, free: 4.969 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01137/0.4014, allocations: 7.633 MB / 1.344 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009533/0.4109, allocations: 4.654 MB / 1.349 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.4177, allocations: 3.634 MB / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006482/0.4242, allocations: 3.5 MB / 1.356 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001967/0.4261, allocations: 0.5938 MB / 1.356 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.4305, allocations: 1.517 MB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.4344, allocations: 2.424 MB / 1.36 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005892/0.4403, allocations: 2.875 MB / 1.363 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.454, allocations: 9.465 MB / 1.372 GB, free: 472 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.454, allocations: 3.984 kB / 1.372 GB, free: 468 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.454, allocations: 4 kB / 1.372 GB, free: 464 kB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002884/0.4543, allocations: 0 / 1.372 GB, free: 464 kB / 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.01422/0.4685, allocations: 5.168 MB / 1.377 GB, free: 11.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.4686, allocations: 8.031 kB / 1.377 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002812/0.4714, allocations: 0.6203 MB / 1.378 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007462/0.4789, allocations: 1.024 MB / 1.379 GB, free: 9.551 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008167/0.487, allocations: 3.009 MB / 1.382 GB, free: 6.449 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.4874, allocations: 316.8 kB / 1.382 GB, free: 6.137 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.4889, allocations: 427.8 kB / 1.382 GB, free: 5.719 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5049, allocations: 6.76 MB / 1.389 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.5051, allocations: 15.89 kB / 1.389 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.5062, allocations: 184 kB / 1.389 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009208/0.5071, allocations: 368 kB / 1.39 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.5179, allocations: 5.118 MB / 1.395 GB, free: 8.988 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04055/0.5584, allocations: 30.26 MB / 1.424 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.5608, allocations: 1.321 MB / 1.425 GB, free: 6.629 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.5629, allocations: 1.246 MB / 1.427 GB, free: 5.387 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.563, allocations: 13.31 kB / 1.427 GB, free: 5.371 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.5631, allocations: 47.88 kB / 1.427 GB, free: 5.316 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.5631, allocations: 0 / 1.427 GB, free: 5.316 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.08785/0.6509, allocations: 22.86 MB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.651, allocations: 73.41 kB / 1.449 GB, free: 14.31 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.6546, allocations: 2.063 MB / 1.451 GB, free: 12.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.6548, allocations: 57.7 kB / 1.451 GB, free: 12.17 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.6565, allocations: 2.063 MB / 1.453 GB, free: 10.09 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007463/0.6572, allocations: 0.7088 MB / 1.454 GB, free: 9.371 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008658/0.6581, allocations: 416.4 kB / 1.454 GB, free: 8.957 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6582, allocations: 305.1 kB / 1.455 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/0.6605, allocations: 1.43 MB / 1.456 GB, free: 7.223 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/0.6633, allocations: 2.017 MB / 1.458 GB, free: 4.957 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.6687, allocations: 3.692 MB / 1.462 GB, free: 1.027 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.6687, allocations: 8 kB / 1.462 GB, free: 1.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01178/0.6804, allocations: 5.596 MB / 1.467 GB, free: 11.36 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.6805, allocations: 15.94 kB / 1.467 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.6805, allocations: 20.12 kB / 1.467 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/0.6875, allocations: 2.08 MB / 1.469 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.6891, allocations: 375.3 kB / 1.469 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04337/0.7325, allocations: 36.62 MB / 1.505 GB, free: 2.129 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.7349, allocations: 123.9 kB / 1.505 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/0.7353, allocations: 95.98 kB / 1.505 GB, free: 1.914 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.002898/0.7382, allocations: 1.504 MB / 1.507 GB, free: 408 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007338/0.7389, allocations: 298.2 kB / 1.507 GB, free: 108 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.7501, allocations: 5.149 MB / 1.512 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.7502, allocations: 20 kB / 1.512 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.28e-05/0.7502, allocations: 16 kB / 1.512 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.7503, allocations: 7.969 kB / 1.512 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.77, allocations: 9.582 MB / 1.522 GB, free: 1.055 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.77, allocations: 4 kB / 1.522 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.7709, allocations: 219.6 kB / 1.522 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/0.777, allocations: 1.85 MB / 1.524 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/0.7772, allocations: 40 kB / 1.524 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04125/0.8185, allocations: 35.62 MB / 1.558 GB, free: 9.191 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.8185, allocations: 7.938 kB / 1.558 GB, free: 9.184 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.8287, allocations: 4.859 MB / 1.563 GB, free: 4.164 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.8305, allocations: 0.5527 MB / 1.564 GB, free: 3.609 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/0.8311, allocations: 55.92 kB / 1.564 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.8328, allocations: 119.8 kB / 1.564 GB, free: 3.438 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/0.8334, allocations: 205.4 kB / 1.564 GB, free: 3.234 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/0.8336, allocations: 56 kB / 1.564 GB, free: 3.18 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002457/0.8361, allocations: 1.382 MB / 1.565 GB, free: 1.789 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8361, allocations: 0 / 1.565 GB, free: 1.789 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003653/0.8397, allocations: 1.043 MB / 1.566 GB, free: 0.7461 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.01006/0.8498, allocations: 5.475 MB / 1.572 GB, free: 11.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01044/0.8602, allocations: 6.018 MB / 1.578 GB, free: 4.855 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.8602, allocations: 0 / 1.578 GB, free: 4.855 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007045/0.8673, allocations: 4.293 MB / 1.582 GB, free: 336 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.8719, allocations: 0.9889 MB / 1.583 GB, free: 15.37 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6445/1.516, allocations: 30.73 MB / 1.613 GB, free: 303.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1.52, allocations: 3.12 MB / 1.616 GB, free: 302.4 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001682/1.522, allocations: 0.5306 MB / 1.616 GB, free: 302.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.524, allocations: 1.673 MB / 1.618 GB, free: 302.4 MB / 1.311 GB Notification: Performance of SimCode: time 1.202e-06/1.524, allocations: 0 / 1.618 GB, free: 302.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1646/1.688, allocations: 90.98 MB / 1.707 GB, free: 240.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/18.18, allocations: 13.8 kB / 1.707 GB, free: 240.2 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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.105477003846318]