Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001995/0.001995, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001369/0.001369, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.009/3.009, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002033/0.002033, allocations: 63.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9039, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02273/0.9267, allocations: 23.78 MB / 1.345 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.9377, allocations: 6.577 MB / 1.351 GB, free: 4.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.9406, allocations: 126.1 kB / 1.351 GB, free: 3.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.9447, allocations: 1.541 MB / 1.353 GB, free: 3.047 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005474/0.9502, allocations: 1.93 MB / 1.355 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.9543, allocations: 1.462 MB / 1.356 GB, free: 1.145 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009739/0.964, allocations: 6.908 MB / 1.363 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009075/0.9731, allocations: 5.189 MB / 1.368 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.9786, allocations: 2.911 MB / 1.371 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006868/0.9855, allocations: 3.749 MB / 1.374 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.9879, allocations: 0.5266 MB / 1.375 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.9922, allocations: 1.196 MB / 1.376 GB, free: 9.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004508/0.9967, allocations: 2.526 MB / 1.379 GB, free: 8.137 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006307/1.003, allocations: 2.541 MB / 1.381 GB, free: 6.516 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/1.018, allocations: 8.54 MB / 1.389 GB, free: 3.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.018, allocations: 0 / 1.389 GB, free: 3.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.434e-06/1.018, allocations: 1.031 kB / 1.389 GB, free: 3.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003648/1.018, allocations: 0 / 1.389 GB, free: 3.82 MB / 1.076 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.01453/1.033, allocations: 4.544 MB / 1.394 GB, free: 1.152 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.033, allocations: 17.02 kB / 1.394 GB, free: 1.145 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001481/1.033, allocations: 99.83 kB / 1.394 GB, free: 1.137 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/1.034, allocations: 0.5716 MB / 1.394 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009803/1.044, allocations: 1.707 MB / 1.396 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/1.051, allocations: 2.705 MB / 1.399 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/1.051, allocations: 275.4 kB / 1.399 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/1.053, allocations: 367.6 kB / 1.399 GB, free: 14.58 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.067, allocations: 7.48 MB / 1.407 GB, free: 10.09 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/1.068, allocations: 18.47 kB / 1.407 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/1.068, allocations: 165.3 kB / 1.407 GB, free: 9.949 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006467/1.069, allocations: 481.4 kB / 1.407 GB, free: 9.801 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/1.081, allocations: 5.705 MB / 1.413 GB, free: 6.875 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0423/1.123, allocations: 31.55 MB / 1.444 GB, free: 9.391 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/1.127, allocations: 2.015 MB / 1.446 GB, free: 7.367 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/1.13, allocations: 2.108 MB / 1.448 GB, free: 5.258 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/1.13, allocations: 25.25 kB / 1.448 GB, free: 5.23 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.13, allocations: 43.88 kB / 1.448 GB, free: 5.18 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.985e-06/1.13, allocations: 0 / 1.448 GB, free: 5.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=251): time 0.3426/1.473, allocations: 76.81 MB / 1.523 GB, free: 8.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/1.473, allocations: 77.41 kB / 1.523 GB, free: 8.141 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/1.476, allocations: 1.67 MB / 1.525 GB, free: 6.426 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0006843/1.477, allocations: 69.7 kB / 1.525 GB, free: 6.352 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.478, allocations: 1.792 MB / 1.526 GB, free: 4.543 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.48, allocations: 0.8985 MB / 1.527 GB, free: 3.637 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/1.481, allocations: 481.4 kB / 1.528 GB, free: 3.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.482, allocations: 305.1 kB / 1.528 GB, free: 2.859 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.486, allocations: 2.73 MB / 1.531 GB, free: 128 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/1.492, allocations: 3.336 MB / 1.534 GB, free: 12.55 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.502, allocations: 6.397 MB / 1.54 GB, free: 5.91 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/1.502, allocations: 4 kB / 1.54 GB, free: 5.906 MB / 1.217 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0378/1.54, allocations: 14.41 MB / 1.554 GB, free: 7.449 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/1.54, allocations: 12 kB / 1.554 GB, free: 7.438 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/1.54, allocations: 16 kB / 1.554 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03328/1.573, allocations: 9.236 MB / 1.563 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.575, allocations: 307.4 kB / 1.564 GB, free: 13.86 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09163/1.666, allocations: 52.39 MB / 1.615 GB, free: 8.594 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.67, allocations: 227.7 kB / 1.615 GB, free: 8.371 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005227/1.67, allocations: 103.9 kB / 1.615 GB, free: 8.27 MB / 1.295 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.003852/1.674, allocations: 1.588 MB / 1.617 GB, free: 6.676 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/1.675, allocations: 254.6 kB / 1.617 GB, free: 6.426 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03596/1.711, allocations: 14.47 MB / 1.631 GB, free: 7.895 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/1.711, allocations: 24 kB / 1.631 GB, free: 7.871 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001771/1.711, allocations: 44 kB / 1.631 GB, free: 7.828 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.517e-05/1.711, allocations: 19.89 kB / 1.631 GB, free: 7.809 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04626/1.757, allocations: 20.24 MB / 1.651 GB, free: 3.367 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/1.757, allocations: 4 kB / 1.651 GB, free: 3.363 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/1.758, allocations: 167.7 kB / 1.651 GB, free: 3.199 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03214/1.791, allocations: 8.994 MB / 1.66 GB, free: 10.18 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006015/1.791, allocations: 51.98 kB / 1.66 GB, free: 10.13 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09037/1.881, allocations: 51.97 MB / 1.711 GB, free: 5.281 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.881, allocations: 8 kB / 1.711 GB, free: 5.273 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03507/1.917, allocations: 14.1 MB / 1.724 GB, free: 7.027 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.919, allocations: 0.8585 MB / 1.725 GB, free: 6.148 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/1.92, allocations: 44 kB / 1.725 GB, free: 6.105 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.922, allocations: 207.7 kB / 1.725 GB, free: 5.902 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/1.923, allocations: 249.4 kB / 1.726 GB, free: 5.656 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.924, allocations: 64 kB / 1.726 GB, free: 5.594 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.001818/1.925, allocations: 1.125 MB / 1.727 GB, free: 4.445 MB / 1.404 GB Notification: Performance of sort global known variables: time 1e-07/1.925, allocations: 0 / 1.727 GB, free: 4.445 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.005535/1.931, allocations: 1.609 MB / 1.728 GB, free: 2.836 MB / 1.404 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.03501/1.966, allocations: 14.71 MB / 1.743 GB, free: 3.98 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02577/1.992, allocations: 10.21 MB / 1.753 GB, free: 9.695 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.992, allocations: 0 / 1.753 GB, free: 9.695 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.0201/2.012, allocations: 7.013 MB / 1.76 GB, free: 2.602 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/2.016, allocations: 0.5665 MB / 1.76 GB, free: 2.047 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/2.135, allocations: 50.39 MB / 1.809 GB, free: 14.56 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007292/2.142, allocations: 3.22 MB / 1.812 GB, free: 11.31 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.001451/2.143, allocations: 395.3 kB / 1.813 GB, free: 10.92 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/2.146, allocations: 1.466 MB / 1.814 GB, free: 9.457 MB / 1.498 GB Notification: Performance of SimCode: time 9.92e-07/2.146, allocations: 0 / 1.814 GB, free: 9.457 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8314/2.977, allocations: 121.8 MB / 1.933 GB, free: 474 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/18.07, allocations: 7.969 kB / 1.933 GB, free: 474 MB / 1.545 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.596615443006158]