Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001697/0.001697, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00216/0.00216, allocations: 214.5 kB / 23.03 MB, free: 4.922 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.434/1.434, 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 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.632/2.632, allocations: 476.8 MB / 0.7715 GB, free: 3.875 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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001999/0.001999, allocations: 71.3 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02938/0.3181, allocations: 22.23 MB / 1.306 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3303, allocations: 6.43 MB / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.3326, allocations: 123.1 kB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004597/0.3372, allocations: 1.521 MB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.342, allocations: 1.933 MB / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.346, allocations: 1.475 MB / 1.317 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008792/0.3547, allocations: 6.905 MB / 1.324 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007143/0.3619, allocations: 3.765 MB / 1.327 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.3666, allocations: 2.933 MB / 1.33 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005949/0.3725, allocations: 3.727 MB / 1.334 GB, free: 7.367 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.374, allocations: 0.5273 MB / 1.334 GB, free: 6.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.3771, allocations: 1.116 MB / 1.336 GB, free: 5.723 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004063/0.3812, allocations: 2.541 MB / 1.338 GB, free: 3.176 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.3862, allocations: 2.05 MB / 1.34 GB, free: 1.117 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.3983, allocations: 8.594 MB / 1.348 GB, free: 8.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3983, allocations: 0 / 1.348 GB, free: 8.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3983, allocations: 0 / 1.348 GB, free: 8.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002749/0.3986, allocations: 0 / 1.348 GB, free: 8.5 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01092/0.4095, allocations: 4.46 MB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.4095, allocations: 12.03 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001121/0.4097, allocations: 99.55 kB / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000946/0.4106, allocations: 0.5791 MB / 1.353 GB, free: 3.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008111/0.4187, allocations: 1.703 MB / 1.355 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.4239, allocations: 2.676 MB / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.4242, allocations: 275.6 kB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/0.4249, allocations: 360.3 kB / 1.358 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.4385, allocations: 7.712 MB / 1.366 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.749e-05/0.4386, allocations: 15.83 kB / 1.366 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004783/0.4391, allocations: 159.9 kB / 1.366 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.4397, allocations: 487.3 kB / 1.367 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.4503, allocations: 5.701 MB / 1.372 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.4825, allocations: 20.54 MB / 1.392 GB, free: 10.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.4856, allocations: 2.012 MB / 1.394 GB, free: 8.805 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/0.4886, allocations: 2.108 MB / 1.396 GB, free: 6.691 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4888, allocations: 17.31 kB / 1.396 GB, free: 6.676 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4888, allocations: 43.88 kB / 1.396 GB, free: 6.621 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.998e-06/0.4888, allocations: 0 / 1.396 GB, free: 6.621 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.2798/0.7686, allocations: 76.72 MB / 1.471 GB, free: 9.777 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.7687, allocations: 81.34 kB / 1.471 GB, free: 9.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.7716, allocations: 1.666 MB / 1.473 GB, free: 7.973 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004498/0.7721, allocations: 61.7 kB / 1.473 GB, free: 7.906 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.7736, allocations: 1.799 MB / 1.475 GB, free: 6.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.7751, allocations: 0.9024 MB / 1.476 GB, free: 5.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.7767, allocations: 481.4 kB / 1.476 GB, free: 4.703 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7768, allocations: 305.1 kB / 1.476 GB, free: 4.402 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/0.7812, allocations: 2.734 MB / 1.479 GB, free: 1.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/0.786, allocations: 3.332 MB / 1.482 GB, free: 14.09 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/0.7953, allocations: 6.393 MB / 1.488 GB, free: 7.449 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.7953, allocations: 4 kB / 1.488 GB, free: 7.445 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03328/0.8286, allocations: 14.41 MB / 1.503 GB, free: 8.988 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.8287, allocations: 12 kB / 1.503 GB, free: 8.977 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.787e-05/0.8287, allocations: 23.94 kB / 1.503 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03006/0.8588, allocations: 9.194 MB / 1.512 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.8601, allocations: 303.4 kB / 1.512 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08373/0.9438, allocations: 51.05 MB / 1.562 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.9464, allocations: 223.7 kB / 1.562 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.9466, allocations: 100 kB / 1.562 GB, free: 11.35 MB / 1.264 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002563/0.9492, allocations: 1.586 MB / 1.564 GB, free: 9.75 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/0.9497, allocations: 262.5 kB / 1.564 GB, free: 9.492 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03281/0.9825, allocations: 14.46 MB / 1.578 GB, free: 10.98 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.9826, allocations: 24 kB / 1.578 GB, free: 10.95 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001476/0.9827, allocations: 48 kB / 1.578 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/0.9828, allocations: 11.95 kB / 1.578 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04198/1.025, allocations: 19.54 MB / 1.597 GB, free: 7.156 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.025, allocations: 4 kB / 1.597 GB, free: 7.152 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/1.025, allocations: 163.7 kB / 1.597 GB, free: 6.992 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5842/1.61, allocations: 8.956 MB / 1.606 GB, free: 292.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000457/1.61, allocations: 49.62 kB / 1.606 GB, free: 292.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06577/1.676, allocations: 50.62 MB / 1.655 GB, free: 272 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.676, allocations: 11.94 kB / 1.655 GB, free: 272 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02415/1.7, allocations: 14.1 MB / 1.669 GB, free: 261.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.702, allocations: 0.7839 MB / 1.67 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/1.703, allocations: 51.95 kB / 1.67 GB, free: 260.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.704, allocations: 203.7 kB / 1.67 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/1.706, allocations: 265.1 kB / 1.671 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.706, allocations: 62.16 kB / 1.671 GB, free: 260 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001229/1.707, allocations: 1.129 MB / 1.672 GB, free: 258.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.707, allocations: 4 kB / 1.672 GB, free: 258.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004103/1.711, allocations: 1.609 MB / 1.673 GB, free: 257.2 MB / 1.295 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02441/1.736, allocations: 14.7 MB / 1.688 GB, free: 242.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.753, allocations: 10.2 MB / 1.698 GB, free: 232.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.753, allocations: 4 kB / 1.698 GB, free: 232.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/1.767, allocations: 7 MB / 1.704 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/1.769, allocations: 0.5663 MB / 1.705 GB, free: 224.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07407/1.843, allocations: 50.52 MB / 1.754 GB, free: 173 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/1.846, allocations: 2.681 MB / 1.757 GB, free: 170.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008841/1.847, allocations: 391.3 kB / 1.757 GB, free: 169.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.848, allocations: 1.468 MB / 1.759 GB, free: 168.5 MB / 1.295 GB Notification: Performance of SimCode: time 8.12e-07/1.848, allocations: 0 / 1.759 GB, free: 168.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/2, allocations: 128.7 MB / 1.884 GB, free: 40.62 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/18.34, allocations: 7.594 kB / 1.884 GB, free: 40.61 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.733289399999194]