Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.86 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.001363/0.001363, 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.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003145, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.5629, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1482/0.7112, allocations: 140.2 MB / 1.158 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.7284, allocations: 13.94 MB / 1.171 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.7295, allocations: 23.81 kB / 1.171 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009925/0.7305, allocations: 314.2 kB / 1.172 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.7338, allocations: 1.222 MB / 1.173 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.7365, allocations: 1.006 MB / 1.174 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.7388, allocations: 1.502 MB / 1.175 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.7406, allocations: 1.445 MB / 1.177 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.742, allocations: 0.864 MB / 1.178 GB, free: 216 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.7428, allocations: 0.6062 MB / 1.178 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.743, allocations: 43.98 kB / 1.178 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.745, allocations: 0.8971 MB / 1.179 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.7454, allocations: 346.6 kB / 1.179 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.7457, allocations: 340.8 kB / 1.18 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.7482, allocations: 2.163 MB / 1.182 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.7482, allocations: 0 / 1.182 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7482, allocations: 8 kB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.74e-05/0.7483, allocations: 0 / 1.182 GB, free: 11.8 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003318/0.7516, allocations: 1.882 MB / 1.184 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.7516, allocations: 11.98 kB / 1.184 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.7552, allocations: 0.5167 MB / 1.184 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.757, allocations: 1.051 MB / 1.185 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.7571, allocations: 131.3 kB / 1.185 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.7574, allocations: 168 kB / 1.185 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.7604, allocations: 1.82 MB / 1.187 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.7605, allocations: 0 / 1.187 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.7606, allocations: 72 kB / 1.187 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.7607, allocations: 44 kB / 1.187 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/0.7639, allocations: 1.871 MB / 1.189 GB, free: 4.082 MB / 0.9356 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.007642/0.7715, allocations: 5.191 MB / 1.194 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.7744, allocations: 1.503 MB / 1.196 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.7748, allocations: 466.8 kB / 1.196 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.7764, allocations: 0.8879 MB / 1.197 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/0.7764, allocations: 0 / 1.197 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.005963/0.7824, allocations: 2.555 MB / 1.2 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.7825, allocations: 201.2 kB / 1.2 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7836, allocations: 0.8193 MB / 1.201 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.7837, allocations: 53.7 kB / 1.201 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.7842, allocations: 0.6523 MB / 1.201 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.7847, allocations: 485 kB / 1.202 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.7847, allocations: 28 kB / 1.202 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7849, allocations: 357.9 kB / 1.202 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.7859, allocations: 470.4 kB / 1.202 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.787, allocations: 0.6262 MB / 1.203 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.788, allocations: 0.5296 MB / 1.204 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.788, allocations: 0 / 1.204 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003272/0.7913, allocations: 1.487 MB / 1.205 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7914, allocations: 4 kB / 1.205 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7914, allocations: 3.938 kB / 1.205 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008801/0.7923, allocations: 196.2 kB / 1.205 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.7938, allocations: 331.6 kB / 1.206 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.7993, allocations: 6.806 MB / 1.212 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.8007, allocations: 175.9 kB / 1.212 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.8008, allocations: 51.97 kB / 1.212 GB, free: 10.95 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 (148): * Single equations (assignments): 143 * 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.0007602/0.8016, allocations: 377.5 kB / 1.213 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.8018, allocations: 134.4 kB / 1.213 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.8059, allocations: 1.846 MB / 1.215 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.8059, allocations: 16 kB / 1.215 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8059, allocations: 0 / 1.215 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.8059, allocations: 7.969 kB / 1.215 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.8115, allocations: 3.271 MB / 1.218 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.8115, allocations: 4 kB / 1.218 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.813, allocations: 327.5 kB / 1.218 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008116/0.8138, allocations: 192.3 kB / 1.218 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.8139, allocations: 39.97 kB / 1.218 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.8196, allocations: 6.853 MB / 1.225 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.8196, allocations: 12.06 kB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.8236, allocations: 1.848 MB / 1.227 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/0.8244, allocations: 422.9 kB / 1.227 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.8246, allocations: 35.98 kB / 1.227 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8258, allocations: 134.6 kB / 1.228 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.8261, allocations: 125 kB / 1.228 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.8262, allocations: 75.89 kB / 1.228 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007653/0.827, allocations: 0.5707 MB / 1.228 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.827, allocations: 4 kB / 1.228 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001503/0.8285, allocations: 0.5727 MB / 1.229 GB, free: 9.156 MB / 0.9825 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.001546/0.8301, allocations: 0.7339 MB / 1.23 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003061/0.8332, allocations: 1.817 MB / 1.231 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/0.8332, allocations: 4.562 kB / 1.231 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.8351, allocations: 1.325 MB / 1.233 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.8371, allocations: 446.8 kB / 1.233 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.8435, allocations: 3.685 MB / 1.237 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/0.8445, allocations: 1.335 MB / 1.238 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001858/0.8463, allocations: 438.1 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.8467, allocations: 147.4 kB / 1.239 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.8468, allocations: 0 / 1.239 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.4937/1.34, allocations: 24.94 MB / 1.263 GB, free: 225.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches