Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001784/0.001784, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002095/0.002095, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.851/2.851, allocations: 476.7 MB / 0.7678 GB, free: 9.43 MB / 0.6075 GB " [Timeout remaining time 176] 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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002087/0.002087, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04722/1.094, allocations: 35.48 MB / 1.314 GB, free: 4 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02294/1.117, allocations: 11.66 MB / 1.325 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/1.121, allocations: 209.7 kB / 1.325 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01251/1.134, allocations: 4.327 MB / 1.329 GB, free: 9.371 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007299/1.141, allocations: 2.09 MB / 1.331 GB, free: 8.027 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006892/1.148, allocations: 2.405 MB / 1.334 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01285/1.161, allocations: 8.459 MB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01536/1.176, allocations: 8.424 MB / 1.35 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007782/1.184, allocations: 3.85 MB / 1.354 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008208/1.192, allocations: 4.42 MB / 1.358 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002181/1.194, allocations: 0.7791 MB / 1.359 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/1.2, allocations: 2.063 MB / 1.361 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004524/1.205, allocations: 3.142 MB / 1.364 GB, free: 4.922 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00662/1.211, allocations: 3.396 MB / 1.368 GB, free: 1.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/1.227, allocations: 12.02 MB / 1.379 GB, free: 5.457 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.227, allocations: 0 / 1.379 GB, free: 5.457 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/1.227, allocations: 3.938 kB / 1.379 GB, free: 5.453 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003467/1.228, allocations: 0 / 1.379 GB, free: 5.453 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01429/1.242, allocations: 5.937 MB / 1.385 GB, free: 15.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.242, allocations: 12.03 kB / 1.385 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001893/1.242, allocations: 143.3 kB / 1.385 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002189/1.244, allocations: 0.8128 MB / 1.386 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/1.251, allocations: 1.09 MB / 1.387 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007524/1.259, allocations: 3.459 MB / 1.39 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/1.259, allocations: 415.5 kB / 1.391 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/1.26, allocations: 0.545 MB / 1.391 GB, free: 8.898 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/1.278, allocations: 9.079 MB / 1.4 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/1.278, allocations: 27.83 kB / 1.4 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006122/1.279, allocations: 232 kB / 1.401 GB, free: 15.24 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/1.279, allocations: 350.6 kB / 1.401 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/1.292, allocations: 6.83 MB / 1.408 GB, free: 8.062 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/1.341, allocations: 39.86 MB / 1.446 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/1.345, allocations: 2.922 MB / 1.449 GB, free: 9.418 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/1.348, allocations: 1.775 MB / 1.451 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/1.348, allocations: 22 kB / 1.451 GB, free: 7.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.348, allocations: 48.56 kB / 1.451 GB, free: 7.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 3.788e-06/1.348, allocations: 0 / 1.451 GB, free: 7.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02633/1.374, allocations: 9.992 MB / 1.461 GB, free: 13.49 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/1.374, allocations: 73.41 kB / 1.461 GB, free: 13.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/1.376, allocations: 1.53 MB / 1.462 GB, free: 11.83 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.377, allocations: 57.7 kB / 1.462 GB, free: 11.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.378, allocations: 2.324 MB / 1.465 GB, free: 9.418 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006825/1.379, allocations: 0.6623 MB / 1.465 GB, free: 8.75 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006937/1.38, allocations: 408.1 kB / 1.466 GB, free: 8.344 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.38, allocations: 305.1 kB / 1.466 GB, free: 8.043 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.382, allocations: 1.183 MB / 1.467 GB, free: 6.855 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/1.384, allocations: 1.881 MB / 1.469 GB, free: 4.656 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/1.389, allocations: 3.371 MB / 1.472 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.389, allocations: 4 kB / 1.472 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008439/1.398, allocations: 4.543 MB / 1.477 GB, free: 12.4 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.398, allocations: 12 kB / 1.477 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.398, allocations: 27.94 kB / 1.477 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00414/1.402, allocations: 1.584 MB / 1.478 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.403, allocations: 351.3 kB / 1.479 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/1.43, allocations: 18.6 MB / 1.497 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.431, allocations: 116.3 kB / 1.497 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.432, allocations: 96 kB / 1.497 GB, free: 7.07 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003069/1.435, allocations: 1.903 MB / 1.499 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/1.435, allocations: 234.5 kB / 1.499 GB, free: 4.926 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/1.443, allocations: 4.039 MB / 1.503 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.443, allocations: 24 kB / 1.503 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.443, allocations: 16 kB / 1.503 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.443, allocations: 11.91 kB / 1.503 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.459, allocations: 9.419 MB / 1.512 GB, free: 7.137 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.459, allocations: 4 kB / 1.512 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/1.46, allocations: 191.7 kB / 1.513 GB, free: 6.945 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/1.464, allocations: 1.346 MB / 1.514 GB, free: 5.59 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/1.464, allocations: 36 kB / 1.514 GB, free: 5.555 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0248/1.489, allocations: 17.37 MB / 1.531 GB, free: 3.625 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.489, allocations: 8 kB / 1.531 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/1.497, allocations: 4.032 MB / 1.535 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.498, allocations: 0.5385 MB / 1.535 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.498, allocations: 43.94 kB / 1.535 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/1.499, allocations: 87.91 kB / 1.535 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/1.5, allocations: 157.7 kB / 1.536 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.5, allocations: 48 kB / 1.536 GB, free: 14.6 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001478/1.501, allocations: 1.005 MB / 1.537 GB, free: 13.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.501, allocations: 0 / 1.537 GB, free: 13.57 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002968/1.504, allocations: 0.9922 MB / 1.538 GB, free: 12.58 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007474/1.512, allocations: 4.626 MB / 1.542 GB, free: 7.859 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007616/1.519, allocations: 4.175 MB / 1.546 GB, free: 3.637 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.519, allocations: 3.938 kB / 1.546 GB, free: 3.633 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004704/1.524, allocations: 2.572 MB / 1.549 GB, free: 1.012 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.528, allocations: 0.7885 MB / 1.549 GB, free: 256 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04797/1.576, allocations: 26.88 MB / 1.576 GB, free: 4.285 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.58, allocations: 3.58 MB / 1.579 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001379/1.581, allocations: 463.9 kB / 1.58 GB, free: 220 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/1.584, allocations: 1.788 MB / 1.581 GB, free: 14.42 MB / 1.279 GB Notification: Performance of SimCode: time 9.31e-07/1.584, allocations: 0 / 1.581 GB, free: 14.42 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.725, allocations: 74.49 MB / 1.654 GB, free: 4.684 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.95, allocations: 6.875 kB / 1.654 GB, free: 4.68 MB / 1.342 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 23.614277998975012]