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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001547, allocations: 183 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009816, allocations: 100.3 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004244, allocations: 6.812 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.816/5.137, allocations: 1.939 GB / 3.168 GB, free: 20.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.137, allocations: 91.89 kB / 3.168 GB, free: 20.35 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.394/6.531, allocations: 326.1 MB / 3.487 GB, free: 169.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.176e-06/6.531, allocations: 4 kB / 3.487 GB, free: 169.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003077/6.532, allocations: 59.86 kB / 3.487 GB, free: 169.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.007518/6.539, allocations: 2.576 MB / 3.489 GB, free: 166.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/6.539, allocations: 12.56 kB / 3.489 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/6.544, allocations: 0.5473 MB / 3.49 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/6.549, allocations: 2.192 MB / 3.492 GB, free: 164 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/6.549, allocations: 127.3 kB / 3.492 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006044/6.55, allocations: 160 kB / 3.492 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/6.554, allocations: 1.841 MB / 3.494 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/6.554, allocations: 3.938 kB / 3.494 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/6.554, allocations: 83.94 kB / 3.494 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/6.554, allocations: 40 kB / 3.494 GB, free: 161.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/6.557, allocations: 1.995 MB / 3.496 GB, free: 159.7 MB / 1.167 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.009707/6.567, allocations: 6.026 MB / 3.502 GB, free: 153.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/6.57, allocations: 1.959 MB / 3.504 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/6.57, allocations: 425.7 kB / 3.504 GB, free: 151 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/6.572, allocations: 0.9268 MB / 3.505 GB, free: 150 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.567e-06/6.572, allocations: 0 / 3.505 GB, free: 150 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006222/6.578, allocations: 2.843 MB / 3.508 GB, free: 147.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/6.578, allocations: 248.6 kB / 3.508 GB, free: 146.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/6.581, allocations: 2.436 MB / 3.51 GB, free: 144.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/6.581, allocations: 53.7 kB / 3.511 GB, free: 144.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/6.582, allocations: 0.8591 MB / 3.511 GB, free: 143.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/6.582, allocations: 465.2 kB / 3.512 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/6.582, allocations: 24 kB / 3.512 GB, free: 142.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/6.582, allocations: 341.9 kB / 3.512 GB, free: 142.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/6.583, allocations: 0.5296 MB / 3.513 GB, free: 142 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/6.584, allocations: 0.7475 MB / 3.513 GB, free: 141.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/6.585, allocations: 0.6015 MB / 3.514 GB, free: 140.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/6.585, allocations: 0 / 3.514 GB, free: 140.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003445/6.589, allocations: 1.674 MB / 3.516 GB, free: 138.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/6.589, allocations: 5.25 kB / 3.516 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/6.589, allocations: 0 / 3.516 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/6.59, allocations: 216.2 kB / 3.516 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/6.591, allocations: 299.6 kB / 3.516 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/6.596, allocations: 6.848 MB / 3.523 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/6.598, allocations: 155 kB / 3.523 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/6.598, allocations: 71.95 kB / 3.523 GB, free: 130.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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.001275/6.599, allocations: 470.2 kB / 3.523 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/6.6, allocations: 186.1 kB / 3.524 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/6.604, allocations: 2.125 MB / 3.526 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/6.604, allocations: 16 kB / 3.526 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/6.604, allocations: 0 / 3.526 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/6.604, allocations: 11.91 kB / 3.526 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007398/6.611, allocations: 4.217 MB / 3.53 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/6.611, allocations: 4 kB / 3.53 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/6.613, allocations: 323.6 kB / 3.53 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009517/6.614, allocations: 224 kB / 3.53 GB, free: 123 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/6.614, allocations: 43.97 kB / 3.53 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/6.618, allocations: 6.867 MB / 3.537 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.618, allocations: 8.078 kB / 3.537 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/6.623, allocations: 1.873 MB / 3.539 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/6.625, allocations: 0.6737 MB / 3.54 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006909/6.626, allocations: 27.98 kB / 3.54 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/6.628, allocations: 131.8 kB / 3.54 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/6.628, allocations: 105.2 kB / 3.54 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/6.628, allocations: 83.95 kB / 3.54 GB, free: 112.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00326/6.631, allocations: 1.931 MB / 3.542 GB, free: 110.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/6.631, allocations: 0 / 3.542 GB, free: 110.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003528/6.635, allocations: 0.8225 MB / 3.543 GB, free: 109.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004219/6.639, allocations: 1.708 MB / 3.544 GB, free: 108.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003501/6.643, allocations: 1.883 MB / 3.546 GB, free: 106.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/6.643, allocations: 12.44 kB / 3.546 GB, free: 106.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/6.645, allocations: 1.329 MB / 3.547 GB, free: 104.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/6.648, allocations: 462.9 kB / 3.548 GB, free: 104.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009138/6.657, allocations: 4.419 MB / 3.552 GB, free: 99.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/6.658, allocations: 1.545 MB / 3.554 GB, free: 98.32 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003155/6.662, allocations: 0.6607 MB / 3.554 GB, free: 97.65 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/6.663, allocations: 243.2 kB / 3.555 GB, free: 97.41 MB / 1.167 GB Notification: Performance of SimCode: time 1.163e-06/6.663, allocations: 0 / 3.555 GB, free: 97.41 MB / 1.167 GB Notification: Performance of Templates: time 0.06967/6.733, allocations: 46.86 MB / 3.6 GB, free: 50.75 MB / 1.167 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