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/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_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/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.5 MB / 398 MB, free: 10.91 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.00125/0.001249, allocations: 180.8 kB / 491.2 MB, free: 1.555 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.685/1.685, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.00104/0.00104, allocations: 87.53 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.546e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.308/6.638, allocations: 1.938 GB / 3.15 GB, free: 390.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/6.638, allocations: 91.66 kB / 3.151 GB, free: 390.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3141/6.953, allocations: 150.9 MB / 3.298 GB, free: 237.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/6.953, allocations: 4 kB / 3.298 GB, free: 237.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001067/6.953, allocations: 35.88 kB / 3.298 GB, free: 237.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002977/6.956, allocations: 1.332 MB / 3.299 GB, free: 235.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/6.956, allocations: 8.031 kB / 3.299 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/6.957, allocations: 262.2 kB / 3.299 GB, free: 235.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/6.959, allocations: 0.8148 MB / 3.3 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/6.959, allocations: 32 kB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/6.959, allocations: 52 kB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/6.96, allocations: 1.132 MB / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/6.962, allocations: 0.8637 MB / 3.302 GB, free: 232.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/6.962, allocations: 3.938 kB / 3.302 GB, free: 232.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/6.962, allocations: 4 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/6.962, allocations: 20 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004515/6.966, allocations: 2.973 MB / 3.305 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/6.968, allocations: 0.8955 MB / 3.306 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/6.968, allocations: 324.6 kB / 3.306 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/6.968, allocations: 133.9 kB / 3.307 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/6.969, allocations: 491.7 kB / 3.307 GB, free: 227.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.296e-06/6.969, allocations: 3.938 kB / 3.307 GB, free: 227.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001898/6.971, allocations: 0.8249 MB / 3.308 GB, free: 226.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/6.971, allocations: 248.1 kB / 3.308 GB, free: 226.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/6.972, allocations: 0.7107 MB / 3.309 GB, free: 225.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/6.972, allocations: 29.7 kB / 3.309 GB, free: 225.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/6.972, allocations: 452.3 kB / 3.309 GB, free: 225.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/6.972, allocations: 275.9 kB / 3.309 GB, free: 225 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/6.972, allocations: 0 / 3.309 GB, free: 225 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/6.972, allocations: 337.9 kB / 3.31 GB, free: 224.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/6.973, allocations: 245.5 kB / 3.31 GB, free: 224.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/6.973, allocations: 378.1 kB / 3.31 GB, free: 224 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/6.973, allocations: 308.4 kB / 3.311 GB, free: 223.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.973, allocations: 0 / 3.311 GB, free: 223.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001523/6.975, allocations: 0.821 MB / 3.312 GB, free: 222.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/6.975, allocations: 4 kB / 3.312 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/6.975, allocations: 0 / 3.312 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/6.976, allocations: 117.6 kB / 3.312 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/6.977, allocations: 183.8 kB / 3.312 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/6.979, allocations: 2.733 MB / 3.314 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/6.98, allocations: 91.41 kB / 3.315 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/6.98, allocations: 31.98 kB / 3.315 GB, free: 219.4 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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.0002247/6.98, allocations: 122 kB / 3.315 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/6.98, allocations: 94.88 kB / 3.315 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/6.982, allocations: 1.105 MB / 3.316 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/6.982, allocations: 23.88 kB / 3.316 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/6.982, allocations: 0 / 3.316 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/6.982, allocations: 3.984 kB / 3.316 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/6.985, allocations: 2.077 MB / 3.318 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.985, allocations: 0 / 3.318 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/6.986, allocations: 199.8 kB / 3.318 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005526/6.987, allocations: 105.6 kB / 3.318 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/6.987, allocations: 19.97 kB / 3.318 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/6.989, allocations: 2.757 MB / 3.321 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/6.989, allocations: 0 / 3.321 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/6.991, allocations: 1.021 MB / 3.322 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/6.991, allocations: 335.6 kB / 3.322 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/6.991, allocations: 7.938 kB / 3.322 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/6.992, allocations: 71.92 kB / 3.322 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/6.992, allocations: 69.2 kB / 3.322 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/6.992, allocations: 39.98 kB / 3.322 GB, free: 211 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006722/6.993, allocations: 0.5616 MB / 3.323 GB, free: 210.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.993, allocations: 0 / 3.323 GB, free: 210.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001676/6.995, allocations: 494.8 kB / 3.323 GB, free: 210 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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: 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.002421/6.997, allocations: 1.414 MB / 3.325 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001387/6.998, allocations: 0.8938 MB / 3.326 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/6.998, allocations: 8.125 kB / 3.326 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007273/6.999, allocations: 0.6137 MB / 3.326 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/7.001, allocations: 272.8 kB / 3.327 GB, free: 206.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/7.004, allocations: 1.558 MB / 3.328 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/7.005, allocations: 1.1 MB / 3.329 GB, free: 204.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001104/7.006, allocations: 322.7 kB / 3.329 GB, free: 203.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/7.006, allocations: 119.3 kB / 3.33 GB, free: 203.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.62e-07/7.006, allocations: 0 / 3.33 GB, free: 203.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03561/7.042, allocations: 21.46 MB / 3.351 GB, free: 182.4 MB / 1.151 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