Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001474/0.001474, allocations: 79.05 kB / 19.18 MB, free: 2.516 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.001547/0.001547, allocations: 162 kB / 22.46 MB, free: 5.375 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.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.875/2.875, allocations: 389 MB / 0.633 GB, free: 1.004 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.962e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7504/0.7504, allocations: 148.3 MB / 1.145 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.7681, allocations: 16.14 MB / 1.161 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.7698, allocations: 42.19 kB / 1.161 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.7714, allocations: 0.5727 MB / 1.161 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.7763, allocations: 1.878 MB / 1.163 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.7797, allocations: 1.485 MB / 1.165 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.7828, allocations: 2.982 MB / 1.167 GB, free: 44.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.7846, allocations: 1.515 MB / 1.169 GB, free: 44.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.7892, allocations: 2.018 MB / 1.171 GB, free: 44.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.7906, allocations: 0.9356 MB / 1.172 GB, free: 43.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003579/0.791, allocations: 231.6 kB / 1.172 GB, free: 43.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.7941, allocations: 1.476 MB / 1.173 GB, free: 43.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.7947, allocations: 0.8446 MB / 1.174 GB, free: 43.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.796, allocations: 0.8392 MB / 1.175 GB, free: 43.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.8034, allocations: 3.85 MB / 1.179 GB, free: 43.26 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8034, allocations: 0 / 1.179 GB, free: 43.26 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8034, allocations: 1.406 kB / 1.179 GB, free: 43.26 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.564e-05/0.8035, allocations: 0.9375 kB / 1.179 GB, free: 43.26 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006232/0.8097, allocations: 2.786 MB / 1.182 GB, free: 41.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8097, allocations: 14.45 kB / 1.182 GB, free: 41.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.8144, allocations: 0.6299 MB / 1.182 GB, free: 41.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.8177, allocations: 1.576 MB / 1.184 GB, free: 41.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.8178, allocations: 138.4 kB / 1.184 GB, free: 41.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.8181, allocations: 176.8 kB / 1.184 GB, free: 41.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/0.8223, allocations: 2.739 MB / 1.187 GB, free: 40.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.8223, allocations: 1.375 kB / 1.187 GB, free: 40.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.8225, allocations: 75.42 kB / 1.187 GB, free: 40.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.8226, allocations: 42.16 kB / 1.187 GB, free: 40.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.8267, allocations: 2.07 MB / 1.189 GB, free: 40.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009878/0.8366, allocations: 4.424 MB / 1.193 GB, free: 38.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.8402, allocations: 1.786 MB / 1.195 GB, free: 37.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.8416, allocations: 0.7328 MB / 1.196 GB, free: 37.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004954/0.8421, allocations: 120.4 kB / 1.196 GB, free: 37.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/0.8442, allocations: 1.64 MB / 1.197 GB, free: 36.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 4.378e-06/0.8442, allocations: 0.9375 kB / 1.197 GB, free: 36.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.007592/0.8518, allocations: 2.655 MB / 1.2 GB, free: 35.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.8519, allocations: 206 kB / 1.2 GB, free: 35.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.8547, allocations: 1.724 MB / 1.202 GB, free: 34.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.855, allocations: 64.45 kB / 1.202 GB, free: 34.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/0.8557, allocations: 0.8571 MB / 1.203 GB, free: 33.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.8561, allocations: 0.5131 MB / 1.203 GB, free: 33.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.8565, allocations: 275.1 kB / 1.204 GB, free: 33.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.8566, allocations: 360.6 kB / 1.204 GB, free: 32.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8579, allocations: 0.6283 MB / 1.204 GB, free: 32.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.8594, allocations: 1.284 MB / 1.206 GB, free: 31.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.862, allocations: 1.415 MB / 1.207 GB, free: 31.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.862, allocations: 0 / 1.207 GB, free: 31.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004468/0.8665, allocations: 1.924 MB / 1.209 GB, free: 30.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8665, allocations: 5.047 kB / 1.209 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8665, allocations: 2.469 kB / 1.209 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.8676, allocations: 212.5 kB / 1.209 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.8694, allocations: 350 kB / 1.21 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.874, allocations: 6.677 MB / 1.216 GB, free: 24.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.876, allocations: 158.2 kB / 1.216 GB, free: 24.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.8761, allocations: 57.44 kB / 1.216 GB, free: 24 MB / 1.076 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 (166): * Single equations (assignments): 161 * 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.001216/0.8773, allocations: 0.4919 MB / 1.217 GB, free: 23.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/0.8778, allocations: 183.9 kB / 1.217 GB, free: 23.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004897/0.8827, allocations: 2.174 MB / 1.219 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.8828, allocations: 17.47 kB / 1.219 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8828, allocations: 1.188 kB / 1.219 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.8828, allocations: 9.234 kB / 1.219 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/0.8903, allocations: 3.757 MB / 1.223 GB, free: 21.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8903, allocations: 0 / 1.223 GB, free: 21.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.8919, allocations: 322.8 kB / 1.223 GB, free: 21.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008885/0.8928, allocations: 204.5 kB / 1.223 GB, free: 21.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.8929, allocations: 41.64 kB / 1.223 GB, free: 21.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/0.8971, allocations: 6.701 MB / 1.23 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8971, allocations: 3.656 kB / 1.23 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.9016, allocations: 2.052 MB / 1.232 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.9026, allocations: 396.7 kB / 1.232 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.9029, allocations: 34.69 kB / 1.232 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9042, allocations: 112.4 kB / 1.232 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.9045, allocations: 129.3 kB / 1.232 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.9047, allocations: 73.67 kB / 1.233 GB, free: 13.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001762/0.9065, allocations: 1.226 MB / 1.234 GB, free: 13.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9065, allocations: 0 / 1.234 GB, free: 13.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002062/0.9085, allocations: 0.7069 MB / 1.234 GB, free: 13.05 MB / 1.076 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.002466/0.911, allocations: 0.8156 MB / 1.235 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00362/0.9146, allocations: 2.106 MB / 1.237 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9146, allocations: 3.766 kB / 1.237 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.9166, allocations: 1.386 MB / 1.239 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.9191, allocations: 0.4986 MB / 1.239 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.9253, allocations: 3.895 MB / 1.243 GB, free: 8.984 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.9262, allocations: 0.9519 MB / 1.244 GB, free: 8.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001731/0.9279, allocations: 0.4979 MB / 1.244 GB, free: 8.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.9285, allocations: 172 kB / 1.245 GB, free: 8.598 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/0.9285, allocations: 3.094 kB / 1.245 GB, free: 8.598 MB / 1.076 GB Notification: Performance of Templates: time 0.0503/0.9788, allocations: 31.77 MB / 1.276 GB, free: 15.73 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.590703062713146]