Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001953/0.001953, allocations: 181.2 kB / 498.1 MB, free: 5.699 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.706/1.706, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001151/0.001152, allocations: 94.44 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.000445, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3368, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.277, allocations: 1.938 GB / 3.161 GB, free: 75.28 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/5.278, allocations: 91.64 kB / 3.161 GB, free: 75.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.466/6.744, allocations: 326.1 MB / 3.479 GB, free: 218.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/6.744, allocations: 0 / 3.479 GB, free: 218.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001517/6.744, allocations: 59.88 kB / 3.479 GB, free: 218.4 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.005086/6.749, allocations: 2.577 MB / 3.482 GB, free: 215.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/6.749, allocations: 12.03 kB / 3.482 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/6.753, allocations: 0.555 MB / 3.483 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/6.757, allocations: 2.188 MB / 3.485 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/6.757, allocations: 123.3 kB / 3.485 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/6.757, allocations: 164 kB / 3.485 GB, free: 212.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/6.76, allocations: 1.841 MB / 3.487 GB, free: 210.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/6.76, allocations: 4 kB / 3.487 GB, free: 210.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/6.761, allocations: 68 kB / 3.487 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/6.761, allocations: 44 kB / 3.487 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/6.764, allocations: 2.007 MB / 3.489 GB, free: 208.6 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.009549/6.773, allocations: 6.012 MB / 3.495 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/6.776, allocations: 1.967 MB / 3.497 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/6.776, allocations: 425.7 kB / 3.497 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/6.778, allocations: 0.9268 MB / 3.498 GB, free: 198.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.957e-06/6.778, allocations: 0 / 3.498 GB, free: 198.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006283/6.784, allocations: 2.835 MB / 3.501 GB, free: 196 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/6.784, allocations: 256.6 kB / 3.501 GB, free: 195.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/6.788, allocations: 2.429 MB / 3.503 GB, free: 193.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003156/6.788, allocations: 61.7 kB / 3.503 GB, free: 193.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/6.789, allocations: 0.8629 MB / 3.504 GB, free: 192.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/6.789, allocations: 457.2 kB / 3.505 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/6.789, allocations: 20 kB / 3.505 GB, free: 191.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/6.789, allocations: 349.9 kB / 3.505 GB, free: 191.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/6.79, allocations: 0.5257 MB / 3.506 GB, free: 191 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/6.791, allocations: 0.7436 MB / 3.506 GB, free: 190.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/6.792, allocations: 0.6056 MB / 3.507 GB, free: 189.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/6.792, allocations: 0 / 3.507 GB, free: 189.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003543/6.796, allocations: 1.662 MB / 3.508 GB, free: 187.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/6.796, allocations: 9.156 kB / 3.508 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/6.796, allocations: 4 kB / 3.508 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/6.797, allocations: 216.1 kB / 3.509 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/6.798, allocations: 299.6 kB / 3.509 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/6.803, allocations: 6.858 MB / 3.516 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/6.805, allocations: 151 kB / 3.516 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/6.805, allocations: 67.95 kB / 3.516 GB, free: 179.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.001201/6.806, allocations: 473.5 kB / 3.516 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/6.807, allocations: 181.8 kB / 3.517 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/6.811, allocations: 2.117 MB / 3.519 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/6.811, allocations: 12 kB / 3.519 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/6.811, allocations: 4 kB / 3.519 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/6.811, allocations: 7.969 kB / 3.519 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007193/6.818, allocations: 4.232 MB / 3.523 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.818, allocations: 0 / 3.523 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/6.819, allocations: 327.5 kB / 3.523 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/6.82, allocations: 212.1 kB / 3.523 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/6.82, allocations: 47.97 kB / 3.523 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/6.825, allocations: 6.878 MB / 3.53 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.825, allocations: 4.031 kB / 3.53 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/6.828, allocations: 1.881 MB / 3.532 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/6.83, allocations: 0.666 MB / 3.533 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/6.831, allocations: 28 kB / 3.533 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/6.832, allocations: 131.7 kB / 3.533 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/6.832, allocations: 105.2 kB / 3.533 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/6.833, allocations: 87.95 kB / 3.533 GB, free: 161.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002258/6.835, allocations: 1.928 MB / 3.535 GB, free: 159.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/6.835, allocations: 0 / 3.535 GB, free: 159.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002581/6.837, allocations: 0.8225 MB / 3.536 GB, free: 158.6 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.002774/6.84, allocations: 1.704 MB / 3.537 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00282/6.843, allocations: 1.895 MB / 3.539 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/6.843, allocations: 0.5625 kB / 3.539 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/6.845, allocations: 1.336 MB / 3.54 GB, free: 153.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/6.847, allocations: 468 kB / 3.541 GB, free: 153.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/6.855, allocations: 4.417 MB / 3.545 GB, free: 148.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/6.856, allocations: 1.548 MB / 3.547 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002648/6.859, allocations: 0.6685 MB / 3.547 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/6.86, allocations: 235.2 kB / 3.547 GB, free: 146.3 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/6.86, allocations: 4 kB / 3.547 GB, free: 146.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06398/6.924, allocations: 46.84 MB / 3.593 GB, free: 99.73 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches