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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.493/2.493, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 15.98 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6001/0.6004, allocations: 153.6 MB / 1.021 GB, free: 1.188 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1447/0.7452, allocations: 140.3 MB / 1.158 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01778/0.763, allocations: 14.17 MB / 1.172 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.7643, allocations: 31.81 kB / 1.172 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.7655, allocations: 338.1 kB / 1.172 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.7695, allocations: 1.341 MB / 1.173 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.7725, allocations: 1.106 MB / 1.174 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.7751, allocations: 1.583 MB / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.7771, allocations: 1.507 MB / 1.177 GB, free: 428 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.7787, allocations: 0.9225 MB / 1.178 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.7796, allocations: 0.7115 MB / 1.179 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.7798, allocations: 48 kB / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.7822, allocations: 0.9946 MB / 1.18 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.7827, allocations: 0.5529 MB / 1.181 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.7832, allocations: 412.4 kB / 1.181 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.7863, allocations: 2.63 MB / 1.184 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7863, allocations: 0 / 1.184 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7863, allocations: 0 / 1.184 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.32e-05/0.7864, allocations: 0 / 1.184 GB, free: 10.13 MB / 0.9356 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.004219/0.7906, allocations: 2.423 MB / 1.186 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7906, allocations: 11.98 kB / 1.186 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.7944, allocations: 0.5784 MB / 1.186 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.7987, allocations: 3.313 MB / 1.19 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7989, allocations: 131.4 kB / 1.19 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.7991, allocations: 168 kB / 1.19 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/0.8023, allocations: 1.917 MB / 1.192 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.8023, allocations: 0 / 1.192 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.8025, allocations: 80 kB / 1.192 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.8026, allocations: 43.94 kB / 1.192 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.8059, allocations: 2.085 MB / 1.194 GB, free: 15.21 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008925/0.8148, allocations: 6.238 MB / 1.2 GB, free: 8.719 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.818, allocations: 1.837 MB / 1.202 GB, free: 6.887 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.8181, allocations: 69.23 kB / 1.202 GB, free: 6.82 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.8197, allocations: 0.9972 MB / 1.203 GB, free: 5.805 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=146): time 2.955e-06/0.8198, allocations: 0 / 1.203 GB, free: 5.805 MB / 0.9513 GB Notification: Performance of matching and sorting (n=146): time 0.006624/0.8264, allocations: 2.964 MB / 1.206 GB, free: 2.723 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.8265, allocations: 205.2 kB / 1.206 GB, free: 2.48 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004828/0.8314, allocations: 4.041 MB / 1.21 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003746/0.8318, allocations: 57.7 kB / 1.21 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/0.8326, allocations: 0.8866 MB / 1.211 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.8331, allocations: 481 kB / 1.211 GB, free: 13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.8332, allocations: 24 kB / 1.211 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8333, allocations: 357.9 kB / 1.212 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.8344, allocations: 0.5609 MB / 1.212 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.8356, allocations: 0.778 MB / 1.213 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.8369, allocations: 0.6388 MB / 1.214 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8369, allocations: 4 kB / 1.214 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003872/0.8408, allocations: 1.76 MB / 1.215 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.8408, allocations: 8 kB / 1.215 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8408, allocations: 0 / 1.215 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.8419, allocations: 216.2 kB / 1.216 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.8434, allocations: 327.6 kB / 1.216 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.8491, allocations: 6.857 MB / 1.223 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.8508, allocations: 179.5 kB / 1.223 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.851, allocations: 47.97 kB / 1.223 GB, free: 0.4922 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.8521, allocations: 485.4 kB / 1.223 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/0.8526, allocations: 193.8 kB / 1.223 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.8572, allocations: 2.145 MB / 1.226 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.8572, allocations: 16 kB / 1.226 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.8572, allocations: 4 kB / 1.226 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.8573, allocations: 7.969 kB / 1.226 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.8643, allocations: 3.922 MB / 1.229 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8643, allocations: 12.02 kB / 1.229 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.8658, allocations: 323.5 kB / 1.23 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/0.8668, allocations: 224.1 kB / 1.23 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.867, allocations: 39.97 kB / 1.23 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.8723, allocations: 6.886 MB / 1.237 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8723, allocations: 7.984 kB / 1.237 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.8766, allocations: 2.174 MB / 1.239 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.8778, allocations: 0.5253 MB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.8781, allocations: 32 kB / 1.239 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.8797, allocations: 142.7 kB / 1.24 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.8799, allocations: 129 kB / 1.24 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.8801, allocations: 67.95 kB / 1.24 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003255/0.8834, allocations: 3.104 MB / 1.243 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.403e-06/0.8834, allocations: 0 / 1.243 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001901/0.8853, allocations: 0.6662 MB / 1.243 GB, free: 10.46 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/0.887, allocations: 0.746 MB / 1.244 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.8905, allocations: 2.035 MB / 1.246 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8905, allocations: 0.5625 kB / 1.246 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.8927, allocations: 1.434 MB / 1.247 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.8949, allocations: 490.9 kB / 1.248 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.9034, allocations: 4.632 MB / 1.252 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.449/1.352, allocations: 1.572 MB / 1.254 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002519/1.355, allocations: 0.5381 MB / 1.255 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/1.356, allocations: 194.3 kB / 1.255 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/1.356, allocations: 0.6562 kB / 1.255 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.05423/1.41, allocations: 30.98 MB / 1.285 GB, free: 214.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches