Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0008455/0.0008455, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008738/0.0008738, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.861/0.861, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.203e-05, allocations: 4.812 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02425/0.02428, allocations: 35.67 MB / 1.016 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.03735, allocations: 10.96 MB / 1.027 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.03977, allocations: 198.6 kB / 1.027 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005054/0.04482, allocations: 4.393 MB / 1.031 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.04927, allocations: 2.396 MB / 1.033 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.05268, allocations: 2.196 MB / 1.035 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007522/0.0602, allocations: 9.462 MB / 1.045 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4113/0.4715, allocations: 6.351 MB / 1.051 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.4769, allocations: 5.778 MB / 1.057 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.4803, allocations: 4.186 MB / 1.061 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000692/0.481, allocations: 0.8239 MB / 1.061 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.4826, allocations: 1.522 MB / 1.063 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.4843, allocations: 3.368 MB / 1.066 GB, free: 52.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.486, allocations: 2.566 MB / 1.069 GB, free: 51.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008963/0.4949, allocations: 12.56 MB / 1.081 GB, free: 51.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4949, allocations: 1.125 kB / 1.081 GB, free: 51.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4949, allocations: 4.094 kB / 1.081 GB, free: 51.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003783/0.4953, allocations: 0 / 1.081 GB, free: 51.06 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01157/0.5069, allocations: 6.332 MB / 1.087 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5069, allocations: 9.969 kB / 1.087 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009927/0.5079, allocations: 0.8304 MB / 1.088 GB, free: 47.28 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.511, allocations: 1.111 MB / 1.089 GB, free: 46.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/0.5154, allocations: 3.573 MB / 1.093 GB, free: 45.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.5156, allocations: 421.9 kB / 1.093 GB, free: 45.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006501/0.5162, allocations: 0.5398 MB / 1.094 GB, free: 44.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.5269, allocations: 10.29 MB / 1.104 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.29e-05/0.527, allocations: 26.69 kB / 1.104 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000492/0.5275, allocations: 248 kB / 1.104 GB, free: 39.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004575/0.5279, allocations: 426.1 kB / 1.104 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00836/0.5363, allocations: 7.113 MB / 1.111 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.5574, allocations: 26.23 MB / 1.137 GB, free: 20.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.5602, allocations: 2.901 MB / 1.14 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.5619, allocations: 1.929 MB / 1.142 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.855e-05/0.562, allocations: 26.75 kB / 1.142 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.562, allocations: 63.31 kB / 1.142 GB, free: 18.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 3.727e-06/0.562, allocations: 0 / 1.142 GB, free: 18.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.0142/0.5762, allocations: 10.26 MB / 1.152 GB, free: 15 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.5763, allocations: 78.69 kB / 1.152 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.578, allocations: 2.053 MB / 1.154 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5781, allocations: 64.14 kB / 1.154 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.5788, allocations: 2.469 MB / 1.156 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.5791, allocations: 0.7587 MB / 1.157 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.5795, allocations: 478.7 kB / 1.157 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.18e-05/0.5795, allocations: 307.9 kB / 1.158 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5806, allocations: 1.374 MB / 1.159 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.5819, allocations: 2.1 MB / 1.161 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.5845, allocations: 3.771 MB / 1.165 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.5845, allocations: 8.75 kB / 1.165 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004405/0.5889, allocations: 5.021 MB / 1.17 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5889, allocations: 18.25 kB / 1.17 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.5889, allocations: 24.14 kB / 1.17 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.5908, allocations: 1.588 MB / 1.171 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.5916, allocations: 452 kB / 1.172 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.6047, allocations: 17.9 MB / 1.189 GB, free: 3.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.6061, allocations: 147.9 kB / 1.189 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6062, allocations: 107.9 kB / 1.189 GB, free: 2.898 MB / 1.01 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002833/0.6091, allocations: 1.944 MB / 1.191 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.6094, allocations: 302.2 kB / 1.192 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.6138, allocations: 4.407 MB / 1.196 GB, free: 12.29 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6138, allocations: 20 kB / 1.196 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.6138, allocations: 16 kB / 1.196 GB, free: 12.26 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6138, allocations: 7.969 kB / 1.196 GB, free: 12.25 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.6242, allocations: 9.177 MB / 1.205 GB, free: 3.055 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6242, allocations: 7.938 kB / 1.205 GB, free: 3.047 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.6248, allocations: 229.4 kB / 1.205 GB, free: 2.836 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.6268, allocations: 1.422 MB / 1.206 GB, free: 1.402 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6269, allocations: 40 kB / 1.207 GB, free: 1.363 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.6407, allocations: 17.91 MB / 1.224 GB, free: 15.06 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6407, allocations: 15.45 kB / 1.224 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/0.6454, allocations: 4.493 MB / 1.228 GB, free: 10.53 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/0.6464, allocations: 0.5797 MB / 1.229 GB, free: 9.953 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.6466, allocations: 40 kB / 1.229 GB, free: 9.914 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.6473, allocations: 115.9 kB / 1.229 GB, free: 9.801 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.6477, allocations: 189 kB / 1.229 GB, free: 9.617 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/0.6478, allocations: 60 kB / 1.229 GB, free: 9.559 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001293/0.649, allocations: 1.311 MB / 1.231 GB, free: 8.238 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.649, allocations: 0 / 1.231 GB, free: 8.238 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002671/0.6517, allocations: 1.148 MB / 1.232 GB, free: 7.09 MB / 1.057 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.6563, allocations: 5.104 MB / 1.237 GB, free: 1.965 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.6612, allocations: 4.546 MB / 1.241 GB, free: 13.49 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6612, allocations: 0 / 1.241 GB, free: 13.49 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.6638, allocations: 2.798 MB / 1.244 GB, free: 10.68 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6661, allocations: 0.8948 MB / 1.245 GB, free: 9.809 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/0.6995, allocations: 30.63 MB / 1.275 GB, free: 10.2 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/0.7025, allocations: 3.163 MB / 1.278 GB, free: 7 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.00129/0.7038, allocations: 0.5517 MB / 1.278 GB, free: 6.441 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.7053, allocations: 1.945 MB / 1.28 GB, free: 4.496 MB / 1.104 GB Notification: Performance of SimCode: time 1.313e-06/0.7053, allocations: 0 / 1.28 GB, free: 4.496 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/0.8015, allocations: 90.4 MB / 1.369 GB, free: 11.74 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.479, allocations: 11.38 kB / 1.369 GB, free: 11.73 MB / 1.198 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 13.778900223784149]