Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0007893/0.0007893, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001277/0.001277, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8529/0.8529, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.701e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02284/0.02286, allocations: 31.12 MB / 0.9809 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.03859, allocations: 14.29 MB / 0.9949 GB, free: 5.902 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.04101, allocations: 210.4 kB / 0.9951 GB, free: 5.695 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/0.04557, allocations: 3.674 MB / 0.9986 GB, free: 2.012 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.05097, allocations: 3.071 MB / 1.002 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.05534, allocations: 2.361 MB / 1.004 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00781/0.06314, allocations: 9.01 MB / 1.013 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005289/0.06843, allocations: 5.507 MB / 1.018 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005854/0.07429, allocations: 5.684 MB / 1.024 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.07781, allocations: 3.663 MB / 1.027 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0006207/0.07843, allocations: 0.7109 MB / 1.028 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.08056, allocations: 1.63 MB / 1.03 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.08247, allocations: 3.016 MB / 1.032 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.08434, allocations: 2.366 MB / 1.035 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.09182, allocations: 11.37 MB / 1.046 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09182, allocations: 0 / 1.046 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.09182, allocations: 0 / 1.046 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001229/0.09195, allocations: 0 / 1.046 GB, free: 1.387 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.4267/0.5187, allocations: 5.981 MB / 1.052 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5187, allocations: 15.34 kB / 1.052 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001689/0.5204, allocations: 0.7233 MB / 1.052 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.5246, allocations: 1.171 MB / 1.054 GB, free: 127 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/0.5303, allocations: 3.455 MB / 1.057 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.5305, allocations: 376.9 kB / 1.057 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.5317, allocations: 497.5 kB / 1.058 GB, free: 125 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.5425, allocations: 8.702 MB / 1.066 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.5426, allocations: 20.61 kB / 1.066 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/0.543, allocations: 215.3 kB / 1.067 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005694/0.5436, allocations: 444.5 kB / 1.067 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008805/0.5524, allocations: 6.073 MB / 1.073 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.5781, allocations: 22.02 MB / 1.094 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.5803, allocations: 1.907 MB / 1.096 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.5823, allocations: 1.753 MB / 1.098 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/0.5823, allocations: 18 kB / 1.098 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.5824, allocations: 54.22 kB / 1.098 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 4.558e-06/0.5824, allocations: 4 kB / 1.098 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.08073/0.6631, allocations: 38.7 MB / 1.136 GB, free: 89.92 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.6632, allocations: 85.56 kB / 1.136 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.6654, allocations: 2.317 MB / 1.138 GB, free: 87.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.6658, allocations: 69.7 kB / 1.138 GB, free: 87.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006832/0.6664, allocations: 2.337 MB / 1.141 GB, free: 85.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.6669, allocations: 0.9705 MB / 1.141 GB, free: 84.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005431/0.6675, allocations: 0.5024 MB / 1.142 GB, free: 83.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.6675, allocations: 305.1 kB / 1.142 GB, free: 83.29 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.6692, allocations: 1.969 MB / 1.144 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.671, allocations: 2.599 MB / 1.147 GB, free: 78.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.6748, allocations: 4.939 MB / 1.152 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.6748, allocations: 4 kB / 1.152 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008359/0.6831, allocations: 7.653 MB / 1.159 GB, free: 65.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.6832, allocations: 16 kB / 1.159 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.6832, allocations: 16 kB / 1.159 GB, free: 65.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004896/0.6881, allocations: 3.216 MB / 1.162 GB, free: 62.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.6891, allocations: 399.3 kB / 1.163 GB, free: 61.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.7128, allocations: 32.74 MB / 1.195 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.7148, allocations: 163.8 kB / 1.195 GB, free: 28.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.715, allocations: 104 kB / 1.195 GB, free: 28.23 MB / 0.9948 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002016/0.717, allocations: 1.798 MB / 1.197 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.7175, allocations: 341.9 kB / 1.197 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/0.7247, allocations: 7.244 MB / 1.204 GB, free: 18.76 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.7247, allocations: 27.94 kB / 1.204 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-05/0.7248, allocations: 32 kB / 1.204 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.7248, allocations: 15.94 kB / 1.204 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7392, allocations: 12.15 MB / 1.216 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.7392, allocations: 4 kB / 1.216 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.7397, allocations: 231.6 kB / 1.216 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004279/0.744, allocations: 2.85 MB / 1.219 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.7442, allocations: 55.94 kB / 1.219 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/0.7719, allocations: 31.54 MB / 1.25 GB, free: 3.039 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7719, allocations: 8 kB / 1.25 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.7805, allocations: 6.776 MB / 1.256 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.782, allocations: 0.7203 MB / 1.257 GB, free: 11.32 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004314/0.7824, allocations: 60.31 kB / 1.257 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7835, allocations: 167.8 kB / 1.257 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/0.7841, allocations: 269.3 kB / 1.258 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/0.7844, allocations: 79.94 kB / 1.258 GB, free: 10.76 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001586/0.786, allocations: 1.521 MB / 1.259 GB, free: 9.238 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.786, allocations: 0 / 1.259 GB, free: 9.238 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003245/0.7892, allocations: 1.371 MB / 1.26 GB, free: 7.867 MB / 1.042 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008261/0.7975, allocations: 7.404 MB / 1.268 GB, free: 244 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008038/0.8055, allocations: 6.54 MB / 1.274 GB, free: 9.605 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.8055, allocations: 4 kB / 1.274 GB, free: 9.602 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005083/0.8106, allocations: 4.253 MB / 1.278 GB, free: 5.273 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/0.8142, allocations: 1.12 MB / 1.279 GB, free: 4.195 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05214/0.8664, allocations: 39.2 MB / 1.318 GB, free: 11.88 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/0.8702, allocations: 3.112 MB / 1.321 GB, free: 8.73 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001521/0.8718, allocations: 0.5556 MB / 1.321 GB, free: 8.172 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/0.8736, allocations: 1.973 MB / 1.323 GB, free: 6.199 MB / 1.104 GB Notification: Performance of SimCode: time 1.713e-06/0.8736, allocations: 0 / 1.323 GB, free: 6.199 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/1.016, allocations: 118.8 MB / 1.439 GB, free: 1.148 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.47, allocations: 11.11 kB / 1.439 GB, free: 1.141 MB / 1.214 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 15.787239613942802]