Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001843/0.001843, allocations: 80.41 kB / 19.18 MB, free: 2.379 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.002308/0.002308, allocations: 170.3 kB / 22.46 MB, free: 4.996 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.963/2.963, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 1 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.649e-05, allocations: 8.953 kB / 1 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.7782/0.7783, allocations: 148.2 MB / 1.145 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.8038, allocations: 16.13 MB / 1.161 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.8068, allocations: 44.72 kB / 1.161 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.8094, allocations: 0.5641 MB / 1.161 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/0.817, allocations: 1.877 MB / 1.163 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.8214, allocations: 1.478 MB / 1.164 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.8257, allocations: 2.966 MB / 1.167 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.8282, allocations: 1.508 MB / 1.169 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.8336, allocations: 2.007 MB / 1.171 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.8355, allocations: 0.9332 MB / 1.172 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.836, allocations: 229 kB / 1.172 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.8399, allocations: 1.478 MB / 1.173 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007419/0.8406, allocations: 0.8292 MB / 1.174 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.8418, allocations: 0.8475 MB / 1.175 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006325/0.8481, allocations: 3.836 MB / 1.179 GB, free: 120 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8481, allocations: 0 / 1.179 GB, free: 120 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8481, allocations: 0 / 1.179 GB, free: 120 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.172e-05/0.8482, allocations: 0 / 1.179 GB, free: 120 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.005947/0.8541, allocations: 2.767 MB / 1.181 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.8542, allocations: 12.53 kB / 1.181 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/0.8591, allocations: 0.6206 MB / 1.182 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.8624, allocations: 1.57 MB / 1.184 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.8625, allocations: 136.3 kB / 1.184 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.8628, allocations: 178.2 kB / 1.184 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.8673, allocations: 2.73 MB / 1.187 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.8673, allocations: 0 / 1.187 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.8675, allocations: 79.44 kB / 1.187 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.8676, allocations: 41 kB / 1.187 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.8714, allocations: 2.047 MB / 1.189 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.8821, allocations: 4.411 MB / 1.193 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.8854, allocations: 1.742 MB / 1.195 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.8866, allocations: 0.7143 MB / 1.195 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.8871, allocations: 124 kB / 1.196 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.8894, allocations: 1.627 MB / 1.197 GB, free: 5.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=154): time 4.458e-06/0.8894, allocations: 0 / 1.197 GB, free: 5.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=154): time 0.007032/0.8964, allocations: 2.613 MB / 1.2 GB, free: 4.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.8966, allocations: 207.9 kB / 1.2 GB, free: 3.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.8989, allocations: 1.707 MB / 1.202 GB, free: 3.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.8991, allocations: 62.83 kB / 1.202 GB, free: 3.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008195/0.8999, allocations: 0.8517 MB / 1.202 GB, free: 2.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/0.9004, allocations: 0.5169 MB / 1.203 GB, free: 1.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/0.9009, allocations: 272.5 kB / 1.203 GB, free: 1.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.9011, allocations: 359.2 kB / 1.204 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.9022, allocations: 0.6142 MB / 1.204 GB, free: 1.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.9039, allocations: 1.268 MB / 1.205 GB, free: 28 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.9064, allocations: 1.379 MB / 1.207 GB, free: 15.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9064, allocations: 0 / 1.207 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00421/0.9106, allocations: 1.904 MB / 1.209 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.9106, allocations: 2.844 kB / 1.209 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9106, allocations: 6.281 kB / 1.209 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.9118, allocations: 217.1 kB / 1.209 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.9133, allocations: 337.2 kB / 1.209 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006529/0.9199, allocations: 6.675 MB / 1.216 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.9217, allocations: 148.4 kB / 1.216 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.9219, allocations: 65.83 kB / 1.216 GB, free: 7.469 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001207/0.9231, allocations: 495 kB / 1.216 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/0.9235, allocations: 177.1 kB / 1.216 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.9282, allocations: 2.162 MB / 1.219 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9282, allocations: 16.06 kB / 1.219 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.9282, allocations: 6.328 kB / 1.219 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.9282, allocations: 7.969 kB / 1.219 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007214/0.9354, allocations: 3.731 MB / 1.222 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.9354, allocations: 2.562 kB / 1.222 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.9369, allocations: 318.9 kB / 1.223 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/0.9379, allocations: 197.6 kB / 1.223 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.938, allocations: 49.38 kB / 1.223 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/0.9443, allocations: 6.7 MB / 1.229 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9443, allocations: 3.984 kB / 1.229 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/0.949, allocations: 2.032 MB / 1.231 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.9503, allocations: 398.6 kB / 1.232 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/0.9507, allocations: 35.66 kB / 1.232 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9521, allocations: 111.1 kB / 1.232 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.9524, allocations: 121.1 kB / 1.232 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.9526, allocations: 72.92 kB / 1.232 GB, free: 11.33 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001748/0.9544, allocations: 1.218 MB / 1.233 GB, free: 10.72 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9544, allocations: 0 / 1.233 GB, free: 10.72 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002273/0.9566, allocations: 0.7049 MB / 1.234 GB, free: 10.53 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002663/0.9593, allocations: 0.8132 MB / 1.235 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003884/0.9632, allocations: 2.089 MB / 1.237 GB, free: 8.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.9632, allocations: 0.8906 kB / 1.237 GB, free: 8.848 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.9657, allocations: 1.372 MB / 1.238 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.9685, allocations: 0.5024 MB / 1.239 GB, free: 6.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/0.9757, allocations: 3.777 MB / 1.242 GB, free: 3.125 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.9769, allocations: 0.9568 MB / 1.243 GB, free: 2.125 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002047/0.9789, allocations: 0.5002 MB / 1.244 GB, free: 1.617 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.9795, allocations: 176.4 kB / 1.244 GB, free: 1.441 MB / 1.045 GB Notification: Performance of SimCode: time 1.102e-06/0.9795, allocations: 0 / 1.244 GB, free: 1.441 MB / 1.045 GB Notification: Performance of Templates: time 0.0576/1.037, allocations: 31.51 MB / 1.275 GB, free: 2.414 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 10.666166126728058]