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 1.984/1.984, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009894/0.0009894, allocations: 176.9 kB / 487.4 MB, free: 5.027 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.306/1.306, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008527, allocations: 91.86 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.22e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.226, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/4.805, allocations: 1.937 GB / 3.143 GB, free: 346.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/4.805, allocations: 91.14 kB / 3.143 GB, free: 346.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6037/5.409, allocations: 322.3 MB / 3.458 GB, free: 44.82 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/5.409, allocations: 4 kB / 3.458 GB, free: 44.81 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002341/5.409, allocations: 51.94 kB / 3.458 GB, free: 44.76 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004737/5.414, allocations: 2.099 MB / 3.46 GB, free: 42.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/5.414, allocations: 12.03 kB / 3.46 GB, free: 42.59 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/5.418, allocations: 0.5473 MB / 3.461 GB, free: 42.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/5.422, allocations: 2.169 MB / 3.463 GB, free: 39.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/5.422, allocations: 52 kB / 3.463 GB, free: 39.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/5.422, allocations: 99.95 kB / 3.463 GB, free: 39.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003277/5.425, allocations: 1.806 MB / 3.465 GB, free: 37.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/5.429, allocations: 1.547 MB / 3.466 GB, free: 36.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/5.429, allocations: 0 / 3.466 GB, free: 36.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/5.429, allocations: 11.94 kB / 3.466 GB, free: 36.25 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/5.429, allocations: 40 kB / 3.466 GB, free: 36.21 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.008779/5.438, allocations: 5.71 MB / 3.472 GB, free: 30.31 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/5.439, allocations: 1.788 MB / 3.474 GB, free: 28.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/5.44, allocations: 0.6361 MB / 3.474 GB, free: 27.81 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/5.441, allocations: 417.7 kB / 3.475 GB, free: 27.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/5.442, allocations: 0.8386 MB / 3.476 GB, free: 26.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.696e-06/5.442, allocations: 0 / 3.476 GB, free: 26.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003074/5.445, allocations: 1.553 MB / 3.477 GB, free: 24.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/5.445, allocations: 248.6 kB / 3.477 GB, free: 24.59 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/5.447, allocations: 2.24 MB / 3.479 GB, free: 22.34 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/5.447, allocations: 29.7 kB / 3.479 GB, free: 22.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/5.448, allocations: 0.8737 MB / 3.48 GB, free: 21.41 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/5.448, allocations: 441.3 kB / 3.481 GB, free: 20.98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/5.448, allocations: 0 / 3.481 GB, free: 20.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/5.448, allocations: 353.9 kB / 3.481 GB, free: 20.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/5.449, allocations: 470.4 kB / 3.482 GB, free: 20.17 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/5.449, allocations: 0.6709 MB / 3.482 GB, free: 19.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/5.45, allocations: 0.554 MB / 3.483 GB, free: 18.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/5.45, allocations: 0 / 3.483 GB, free: 18.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002442/5.453, allocations: 1.495 MB / 3.484 GB, free: 17.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/5.453, allocations: 4 kB / 3.484 GB, free: 17.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/5.453, allocations: 4 kB / 3.484 GB, free: 17.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008852/5.454, allocations: 208.1 kB / 3.484 GB, free: 17.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/5.455, allocations: 303.6 kB / 3.485 GB, free: 16.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/5.458, allocations: 6.535 MB / 3.491 GB, free: 9.715 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/5.46, allocations: 127 kB / 3.491 GB, free: 9.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/5.46, allocations: 63.97 kB / 3.491 GB, free: 9.527 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 (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.0002807/5.46, allocations: 130.7 kB / 3.491 GB, free: 9.395 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/5.46, allocations: 173.9 kB / 3.492 GB, free: 9.223 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/5.464, allocations: 1.913 MB / 3.493 GB, free: 7.281 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/5.464, allocations: 12 kB / 3.493 GB, free: 7.27 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/5.464, allocations: 4 kB / 3.493 GB, free: 7.266 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/5.464, allocations: 11.91 kB / 3.493 GB, free: 7.254 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/5.469, allocations: 3.826 MB / 3.497 GB, free: 3.363 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/5.469, allocations: 3.984 kB / 3.497 GB, free: 3.359 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/5.47, allocations: 315.6 kB / 3.497 GB, free: 3.051 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008007/5.471, allocations: 212.1 kB / 3.498 GB, free: 2.828 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/5.471, allocations: 27.92 kB / 3.498 GB, free: 2.801 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6359/6.107, allocations: 6.549 MB / 3.504 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/6.107, allocations: 0 / 3.504 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/6.111, allocations: 1.699 MB / 3.506 GB, free: 306 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/6.113, allocations: 0.6555 MB / 3.506 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/6.113, allocations: 4.203 kB / 3.506 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/6.114, allocations: 101.2 kB / 3.507 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/6.114, allocations: 103.1 kB / 3.507 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/6.115, allocations: 91.3 kB / 3.507 GB, free: 305.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002555/6.117, allocations: 1.754 MB / 3.508 GB, free: 305.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.873e-06/6.117, allocations: 0 / 3.508 GB, free: 305.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002772/6.12, allocations: 0.7615 MB / 3.509 GB, free: 305.7 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 (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.003109/6.123, allocations: 1.758 MB / 3.511 GB, free: 305.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002661/6.126, allocations: 1.72 MB / 3.513 GB, free: 304.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/6.126, allocations: 6.219 kB / 3.513 GB, free: 304.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/6.127, allocations: 1.22 MB / 3.514 GB, free: 304.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/6.13, allocations: 429.1 kB / 3.514 GB, free: 304.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/6.136, allocations: 2.795 MB / 3.517 GB, free: 303.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/6.137, allocations: 1.547 MB / 3.518 GB, free: 303 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002709/6.14, allocations: 0.6648 MB / 3.519 GB, free: 302.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/6.141, allocations: 234.3 kB / 3.519 GB, free: 302.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/6.141, allocations: 0 / 3.519 GB, free: 302.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06497/6.206, allocations: 36.81 MB / 3.555 GB, free: 301.7 MB / 1.151 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