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.001815/0.001815, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002298/0.002298, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.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.002126/0.002126, allocations: 69.17 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3848, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.206/0.5908, allocations: 148.3 MB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03168/0.6225, allocations: 16.19 MB / 1.488 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.6244, allocations: 47.62 kB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.6266, allocations: 0.5582 MB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.633, allocations: 1.844 MB / 1.49 GB, free: 9.395 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.6374, allocations: 1.466 MB / 1.492 GB, free: 7.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004747/0.6421, allocations: 2.894 MB / 1.494 GB, free: 5.035 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.6451, allocations: 1.598 MB / 1.496 GB, free: 3.379 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.65, allocations: 1.525 MB / 1.497 GB, free: 1.898 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.652, allocations: 1.151 MB / 1.499 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006931/0.6527, allocations: 224 kB / 1.499 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.6565, allocations: 1.486 MB / 1.5 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.6575, allocations: 0.8023 MB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.6589, allocations: 1.007 MB / 1.502 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005493/0.6644, allocations: 3.662 MB / 1.506 GB, free: 9.543 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6644, allocations: 0 / 1.506 GB, free: 9.543 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6644, allocations: 0 / 1.506 GB, free: 9.543 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.726e-05/0.6645, allocations: 0 / 1.506 GB, free: 9.543 MB / 1.201 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.005067/0.6695, allocations: 2.786 MB / 1.508 GB, free: 6.703 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6696, allocations: 8.031 kB / 1.508 GB, free: 6.695 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.6742, allocations: 0.6267 MB / 1.509 GB, free: 6.066 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.6773, allocations: 1.564 MB / 1.51 GB, free: 4.465 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.6774, allocations: 131.4 kB / 1.511 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.6777, allocations: 172 kB / 1.511 GB, free: 4.168 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.6818, allocations: 2.697 MB / 1.513 GB, free: 1.234 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.6818, allocations: 0 / 1.513 GB, free: 1.234 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.682, allocations: 76 kB / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.682, allocations: 40 kB / 1.513 GB, free: 1.121 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.6857, allocations: 2.042 MB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009373/0.6951, allocations: 4.22 MB / 1.52 GB, free: 10.78 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.6986, allocations: 1.704 MB / 1.521 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.6999, allocations: 0.6944 MB / 1.522 GB, free: 8.367 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.7004, allocations: 121.2 kB / 1.522 GB, free: 8.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.7026, allocations: 1.607 MB / 1.524 GB, free: 6.477 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.847e-06/0.7026, allocations: 0 / 1.524 GB, free: 6.477 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007266/0.7099, allocations: 2.574 MB / 1.526 GB, free: 3.879 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.71, allocations: 197.2 kB / 1.526 GB, free: 3.645 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.7127, allocations: 1.709 MB / 1.528 GB, free: 1.918 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.7129, allocations: 61.7 kB / 1.528 GB, free: 1.852 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.7138, allocations: 0.8591 MB / 1.529 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.7144, allocations: 0.4996 MB / 1.529 GB, free: 488 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.7148, allocations: 262.8 kB / 1.53 GB, free: 220 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.715, allocations: 357.9 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.7162, allocations: 0.5882 MB / 1.531 GB, free: 15.27 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.7178, allocations: 1.228 MB / 1.532 GB, free: 13.89 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/0.7203, allocations: 1.333 MB / 1.533 GB, free: 12.54 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7203, allocations: 0 / 1.533 GB, free: 12.54 MB / 1.232 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004316/0.7246, allocations: 1.8 MB / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.7246, allocations: 14.44 kB / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7246, allocations: 0 / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.7258, allocations: 216.1 kB / 1.535 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.7275, allocations: 339.5 kB / 1.535 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/0.7342, allocations: 6.678 MB / 1.542 GB, free: 2.957 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7362, allocations: 155.3 kB / 1.542 GB, free: 2.805 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.7363, allocations: 55.95 kB / 1.542 GB, free: 2.75 MB / 1.232 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.001168/0.7375, allocations: 487.4 kB / 1.543 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.738, allocations: 182.8 kB / 1.543 GB, free: 2.086 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/0.743, allocations: 2.112 MB / 1.545 GB, free: 15.94 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.743, allocations: 16 kB / 1.545 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.743, allocations: 4 kB / 1.545 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.743, allocations: 7.969 kB / 1.545 GB, free: 15.91 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/0.7505, allocations: 3.498 MB / 1.548 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7505, allocations: 0 / 1.548 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.7521, allocations: 315.5 kB / 1.549 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.7531, allocations: 208.1 kB / 1.549 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.7532, allocations: 39.97 kB / 1.549 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006665/0.7599, allocations: 6.716 MB / 1.555 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7599, allocations: 0 / 1.555 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/0.7647, allocations: 1.989 MB / 1.557 GB, free: 2.523 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.7659, allocations: 398.2 kB / 1.558 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.7662, allocations: 35.94 kB / 1.558 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7675, allocations: 102.1 kB / 1.558 GB, free: 2 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.7678, allocations: 117.1 kB / 1.558 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.768, allocations: 75.95 kB / 1.558 GB, free: 1.812 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001977/0.77, allocations: 1.228 MB / 1.559 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.77, allocations: 0 / 1.559 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002787/0.7728, allocations: 0.6977 MB / 1.56 GB, free: 15.88 MB / 1.264 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.002887/0.7756, allocations: 0.7777 MB / 1.561 GB, free: 15.31 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004476/0.7801, allocations: 2.027 MB / 1.563 GB, free: 13.22 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.7801, allocations: 0.6562 kB / 1.563 GB, free: 13.22 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.7826, allocations: 1.36 MB / 1.564 GB, free: 11.79 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.7853, allocations: 0.5127 MB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.7924, allocations: 3.784 MB / 1.568 GB, free: 7.488 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.7935, allocations: 0.9567 MB / 1.569 GB, free: 6.492 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001929/0.7955, allocations: 0.5117 MB / 1.57 GB, free: 5.977 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.796, allocations: 167.4 kB / 1.57 GB, free: 5.816 MB / 1.264 GB Notification: Performance of SimCode: time 1.212e-06/0.796, allocations: 0 / 1.57 GB, free: 5.816 MB / 1.264 GB Notification: Performance of Templates: time 0.06017/0.8561, allocations: 34.77 MB / 1.604 GB, free: 3.535 MB / 1.295 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/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.612602396999137]