Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, 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.001591/0.001591, 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.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 11.98 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6094, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1374/0.7469, allocations: 130 MB / 1.148 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.7597, allocations: 8.798 MB / 1.156 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009374/0.7607, allocations: 11.94 kB / 1.156 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.7615, allocations: 147 kB / 1.157 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.7641, allocations: 0.7965 MB / 1.157 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.7664, allocations: 0.8287 MB / 1.158 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.768, allocations: 0.9942 MB / 1.159 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.7692, allocations: 0.9032 MB / 1.16 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007986/0.77, allocations: 0.4942 MB / 1.16 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.7705, allocations: 421.9 kB / 1.161 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/0.7706, allocations: 32 kB / 1.161 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.7722, allocations: 0.7411 MB / 1.162 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.7724, allocations: 251 kB / 1.162 GB, free: 332 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.7727, allocations: 229.1 kB / 1.162 GB, free: 96 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.7744, allocations: 1.582 MB / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.7744, allocations: 0 / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7744, allocations: 0 / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.7744, allocations: 0 / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002758/0.7772, allocations: 1.477 MB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7772, allocations: 15.98 kB / 1.165 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.7789, allocations: 286.1 kB / 1.165 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7803, allocations: 1.02 MB / 1.166 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.7804, allocations: 74 kB / 1.166 GB, free: 11.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.7806, allocations: 99.94 kB / 1.166 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.7824, allocations: 1.104 MB / 1.168 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.7825, allocations: 0 / 1.168 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.7826, allocations: 47.94 kB / 1.168 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.7826, allocations: 24 kB / 1.168 GB, free: 10.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.7849, allocations: 1.335 MB / 1.169 GB, free: 8.902 MB / 0.92 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.005135/0.79, allocations: 3.312 MB / 1.172 GB, free: 5.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.792, allocations: 1.043 MB / 1.173 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.7921, allocations: 52.92 kB / 1.173 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.7932, allocations: 0.6215 MB / 1.174 GB, free: 3.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=95): time 2.435e-06/0.7932, allocations: 0 / 1.174 GB, free: 3.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=95): time 0.00408/0.7973, allocations: 1.653 MB / 1.175 GB, free: 2.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7974, allocations: 192.9 kB / 1.176 GB, free: 1.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.7986, allocations: 1.009 MB / 1.177 GB, free: 0.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.7987, allocations: 53.64 kB / 1.177 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.7991, allocations: 480.4 kB / 1.177 GB, free: 264 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.7994, allocations: 307.5 kB / 1.177 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.7995, allocations: 12 kB / 1.177 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7996, allocations: 345.9 kB / 1.178 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.8003, allocations: 337.8 kB / 1.178 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/0.8011, allocations: 477 kB / 1.179 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.8019, allocations: 386.9 kB / 1.179 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8019, allocations: 4 kB / 1.179 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002389/0.8043, allocations: 1.041 MB / 1.18 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8043, allocations: 8 kB / 1.18 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.8043, allocations: 0 / 1.18 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007329/0.8051, allocations: 121.6 kB / 1.18 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.806, allocations: 203.7 kB / 1.18 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.8089, allocations: 2.875 MB / 1.183 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/0.8099, allocations: 131.7 kB / 1.183 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.81, allocations: 31.98 kB / 1.183 GB, free: 9.688 MB / 0.9356 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 (100): * Single equations (assignments): 98 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005422/0.8105, allocations: 306 kB / 1.184 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.8107, allocations: 106.7 kB / 1.184 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.8137, allocations: 1.338 MB / 1.185 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.8137, allocations: 8 kB / 1.185 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8137, allocations: 0 / 1.185 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8137, allocations: 11.97 kB / 1.185 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.8176, allocations: 2.314 MB / 1.187 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.8177, allocations: 4.062 kB / 1.187 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/0.8186, allocations: 199.7 kB / 1.187 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006357/0.8192, allocations: 113.6 kB / 1.188 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.8193, allocations: 39.91 kB / 1.188 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.8221, allocations: 2.895 MB / 1.19 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8221, allocations: 0 / 1.19 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.8248, allocations: 1.289 MB / 1.192 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.8253, allocations: 335.4 kB / 1.192 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.8255, allocations: 24 kB / 1.192 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.8264, allocations: 108.4 kB / 1.192 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.8265, allocations: 80.88 kB / 1.192 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.8266, allocations: 47.92 kB / 1.192 GB, free: 64 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009062/0.8275, allocations: 0.7449 MB / 1.193 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8276, allocations: 0 / 1.193 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001308/0.8289, allocations: 439.1 kB / 1.193 GB, free: 14.89 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (104): * Single equations (assignments): 97 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00156/0.8304, allocations: 0.7174 MB / 1.194 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.8327, allocations: 1.123 MB / 1.195 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8327, allocations: 0 / 1.195 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.834, allocations: 0.749 MB / 1.196 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.8354, allocations: 288.5 kB / 1.196 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.8403, allocations: 2.655 MB / 1.199 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.841, allocations: 1.132 MB / 1.2 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001127/0.8421, allocations: 323.5 kB / 1.2 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.8425, allocations: 123.4 kB / 1.2 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of SimCode: time 1.032e-06/0.8425, allocations: 0 / 1.2 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of Templates: time 0.03023/0.8727, allocations: 18.45 MB / 1.218 GB, free: 5.605 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches