Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001989/0.001989, allocations: 108 kB / 16.45 MB, free: 6.512 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.002164/0.002164, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.257/3.257, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 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: 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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [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.002084/0.002084, allocations: 73.84 kB / 1.149 GB, free: 26.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.404, allocations: 176.1 MB / 1.321 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2266/0.6306, allocations: 171.9 MB / 1.489 GB, free: 6.418 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02615/0.6568, allocations: 17.52 MB / 1.506 GB, free: 4.84 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.6584, allocations: 43.62 kB / 1.506 GB, free: 4.797 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.6601, allocations: 0.5855 MB / 1.507 GB, free: 4.207 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.6657, allocations: 1.842 MB / 1.509 GB, free: 2.359 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.6696, allocations: 1.451 MB / 1.51 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004082/0.6737, allocations: 2.882 MB / 1.513 GB, free: 14.03 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.6767, allocations: 1.605 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.6818, allocations: 1.518 MB / 1.516 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.684, allocations: 1.14 MB / 1.517 GB, free: 9.742 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008084/0.6848, allocations: 228 kB / 1.517 GB, free: 9.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.6888, allocations: 1.634 MB / 1.519 GB, free: 7.883 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.69, allocations: 0.8022 MB / 1.52 GB, free: 7.078 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.6923, allocations: 1.224 MB / 1.521 GB, free: 5.848 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.6992, allocations: 3.654 MB / 1.524 GB, free: 2.18 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.6992, allocations: 0 / 1.524 GB, free: 2.18 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6992, allocations: 0 / 1.524 GB, free: 2.18 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001332/0.6993, allocations: 4 kB / 1.524 GB, free: 2.176 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007386/0.7067, allocations: 2.863 MB / 1.527 GB, free: 15.24 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7068, allocations: 11.98 kB / 1.527 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.7118, allocations: 0.619 MB / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.7157, allocations: 1.656 MB / 1.529 GB, free: 12.9 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.7159, allocations: 127.4 kB / 1.53 GB, free: 12.78 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.7165, allocations: 176 kB / 1.53 GB, free: 12.61 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005331/0.7218, allocations: 1.936 MB / 1.532 GB, free: 10.62 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.7218, allocations: 11.94 kB / 1.532 GB, free: 10.61 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.7221, allocations: 72 kB / 1.532 GB, free: 10.54 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.7222, allocations: 40 kB / 1.532 GB, free: 10.5 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.7268, allocations: 2.089 MB / 1.534 GB, free: 8.402 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.7402, allocations: 6.255 MB / 1.54 GB, free: 1.754 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.7442, allocations: 2.007 MB / 1.542 GB, free: 15.68 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.7457, allocations: 0.6983 MB / 1.543 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/0.7464, allocations: 429.6 kB / 1.543 GB, free: 14.48 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002064/0.7484, allocations: 1.009 MB / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 4.067e-06/0.7484, allocations: 0 / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007698/0.7561, allocations: 2.962 MB / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.7563, allocations: 197.2 kB / 1.547 GB, free: 10.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.7596, allocations: 1.812 MB / 1.549 GB, free: 8.32 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.7599, allocations: 53.7 kB / 1.549 GB, free: 8.262 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/0.7608, allocations: 0.8521 MB / 1.55 GB, free: 7.398 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/0.7615, allocations: 0.4957 MB / 1.55 GB, free: 6.898 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005718/0.7621, allocations: 258.8 kB / 1.55 GB, free: 6.637 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.7623, allocations: 357.9 kB / 1.551 GB, free: 6.281 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.7636, allocations: 0.5921 MB / 1.551 GB, free: 5.691 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.7652, allocations: 0.8001 MB / 1.552 GB, free: 4.84 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.7679, allocations: 1.325 MB / 1.553 GB, free: 3.508 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7679, allocations: 4 kB / 1.553 GB, free: 3.504 MB / 1.248 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004662/0.7726, allocations: 1.816 MB / 1.555 GB, free: 1.664 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.7726, allocations: 15.88 kB / 1.555 GB, free: 1.648 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7726, allocations: 0 / 1.555 GB, free: 1.648 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.7738, allocations: 220.1 kB / 1.555 GB, free: 1.418 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.7755, allocations: 331.6 kB / 1.556 GB, free: 1.094 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.783, allocations: 7.324 MB / 1.563 GB, free: 9.059 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7849, allocations: 159.1 kB / 1.563 GB, free: 8.902 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.7852, allocations: 59.95 kB / 1.563 GB, free: 8.844 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (152): * Single equations (assignments): 147 * 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.001375/0.7866, allocations: 483.2 kB / 1.564 GB, free: 8.359 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/0.7873, allocations: 186.8 kB / 1.564 GB, free: 8.176 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/0.7928, allocations: 2.137 MB / 1.566 GB, free: 6.008 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.7928, allocations: 12 kB / 1.566 GB, free: 5.996 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7929, allocations: 4 kB / 1.566 GB, free: 5.992 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7929, allocations: 7.969 kB / 1.566 GB, free: 5.984 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008971/0.8018, allocations: 3.996 MB / 1.57 GB, free: 1.91 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.8019, allocations: 0 / 1.57 GB, free: 1.91 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.8035, allocations: 319.5 kB / 1.57 GB, free: 1.598 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/0.8045, allocations: 204.1 kB / 1.57 GB, free: 1.383 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.8046, allocations: 43.95 kB / 1.57 GB, free: 1.34 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.8119, allocations: 7.352 MB / 1.577 GB, free: 9.277 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8119, allocations: 3.938 kB / 1.577 GB, free: 9.273 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/0.8172, allocations: 1.99 MB / 1.579 GB, free: 7.25 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.8185, allocations: 491.2 kB / 1.58 GB, free: 6.75 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/0.8189, allocations: 28 kB / 1.58 GB, free: 6.723 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.8205, allocations: 106.1 kB / 1.58 GB, free: 6.621 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.8209, allocations: 117.1 kB / 1.58 GB, free: 6.504 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.8211, allocations: 67.95 kB / 1.58 GB, free: 6.438 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0024/0.8235, allocations: 1.301 MB / 1.581 GB, free: 5.141 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8235, allocations: 4 kB / 1.581 GB, free: 5.137 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002491/0.826, allocations: 0.6859 MB / 1.582 GB, free: 4.449 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002609/0.8286, allocations: 0.7406 MB / 1.583 GB, free: 3.883 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004102/0.8327, allocations: 2.027 MB / 1.585 GB, free: 1.789 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.8327, allocations: 8.562 kB / 1.585 GB, free: 1.781 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.835, allocations: 1.36 MB / 1.586 GB, free: 368 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.8382, allocations: 0.5502 MB / 1.587 GB, free: 15.83 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/0.8459, allocations: 3.779 MB / 1.59 GB, free: 12.02 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.8473, allocations: 1.529 MB / 1.592 GB, free: 10.45 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001932/0.8493, allocations: 0.5009 MB / 1.592 GB, free: 9.941 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/0.8498, allocations: 175.3 kB / 1.593 GB, free: 9.773 MB / 1.295 GB Notification: Performance of SimCode: time 1.583e-06/0.8498, allocations: 0 / 1.593 GB, free: 9.773 MB / 1.295 GB Notification: Performance of Templates: time 0.7965/1.646, allocations: 32.66 MB / 1.624 GB, free: 269.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.54388535534963]