Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001129/0.001129, allocations: 173.2 kB / 498.1 MB, free: 5.742 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.709/1.709, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0012/0.0012, allocations: 108.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 12.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.928/5.271, allocations: 1.938 GB / 3.161 GB, free: 74.68 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/5.271, allocations: 89.12 kB / 3.161 GB, free: 74.59 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.059/6.33, allocations: 153.1 MB / 3.31 GB, free: 395.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/6.33, allocations: 4 kB / 3.31 GB, free: 395.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.742e-05/6.33, allocations: 24 kB / 3.311 GB, free: 395.7 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002766/6.333, allocations: 1.498 MB / 3.312 GB, free: 394.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/6.333, allocations: 8.031 kB / 3.312 GB, free: 394.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/6.334, allocations: 270.2 kB / 3.312 GB, free: 393.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/6.336, allocations: 0.8159 MB / 3.313 GB, free: 393 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/6.336, allocations: 75.12 kB / 3.313 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/6.336, allocations: 92 kB / 3.313 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/6.337, allocations: 1.035 MB / 3.314 GB, free: 391.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/6.337, allocations: 4 kB / 3.314 GB, free: 391.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/6.337, allocations: 51.94 kB / 3.314 GB, free: 391.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/6.337, allocations: 24 kB / 3.314 GB, free: 391.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/6.339, allocations: 1.272 MB / 3.316 GB, free: 390.4 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.004109/6.343, allocations: 3.137 MB / 3.319 GB, free: 387.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/6.345, allocations: 1.015 MB / 3.32 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/6.345, allocations: 134.1 kB / 3.32 GB, free: 386 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/6.346, allocations: 0.5513 MB / 3.32 GB, free: 385.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 2.775e-06/6.346, allocations: 0 / 3.32 GB, free: 385.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.003501/6.349, allocations: 1.551 MB / 3.322 GB, free: 383.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/6.349, allocations: 248.3 kB / 3.322 GB, free: 383.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/6.35, allocations: 0.8087 MB / 3.323 GB, free: 382.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/6.35, allocations: 45.7 kB / 3.323 GB, free: 382.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/6.351, allocations: 444.4 kB / 3.323 GB, free: 382.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/6.351, allocations: 279.9 kB / 3.324 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/6.351, allocations: 16 kB / 3.324 GB, free: 381.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/6.351, allocations: 334 kB / 3.324 GB, free: 381.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/6.351, allocations: 305.8 kB / 3.324 GB, free: 381.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/6.352, allocations: 445.9 kB / 3.325 GB, free: 380.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/6.353, allocations: 362.8 kB / 3.325 GB, free: 380.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.353, allocations: 0 / 3.325 GB, free: 380.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001944/6.355, allocations: 0.9666 MB / 3.326 GB, free: 379.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/6.355, allocations: 4 kB / 3.326 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/6.355, allocations: 4 kB / 3.326 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/6.355, allocations: 117.6 kB / 3.326 GB, free: 379.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/6.356, allocations: 191.6 kB / 3.326 GB, free: 379.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/6.358, allocations: 2.878 MB / 3.329 GB, free: 376 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/6.359, allocations: 107.3 kB / 3.329 GB, free: 375.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/6.359, allocations: 35.97 kB / 3.329 GB, free: 375.9 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 (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.0006923/6.36, allocations: 286.4 kB / 3.329 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/6.36, allocations: 98.81 kB / 3.329 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/6.363, allocations: 1.259 MB / 3.331 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/6.363, allocations: 8 kB / 3.331 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/6.363, allocations: 7.984 kB / 3.331 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/6.363, allocations: 7.984 kB / 3.331 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/6.367, allocations: 2.366 MB / 3.333 GB, free: 371.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/6.367, allocations: 0 / 3.333 GB, free: 371.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/6.367, allocations: 187.8 kB / 3.333 GB, free: 371.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/6.368, allocations: 117.6 kB / 3.333 GB, free: 371.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/6.368, allocations: 27.97 kB / 3.333 GB, free: 371.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/6.37, allocations: 2.899 MB / 3.336 GB, free: 368.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/6.37, allocations: 0 / 3.336 GB, free: 368.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/6.373, allocations: 1.145 MB / 3.337 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/6.373, allocations: 343.4 kB / 3.338 GB, free: 366.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/6.373, allocations: 24 kB / 3.338 GB, free: 366.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/6.374, allocations: 87.92 kB / 3.338 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/6.374, allocations: 72.95 kB / 3.338 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/6.374, allocations: 43.98 kB / 3.338 GB, free: 366.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007718/6.375, allocations: 0.6474 MB / 3.338 GB, free: 365.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.375, allocations: 0 / 3.338 GB, free: 365.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001668/6.377, allocations: 0.5263 MB / 3.339 GB, free: 365.4 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 (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.002367/6.379, allocations: 1.382 MB / 3.34 GB, free: 364.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001818/6.381, allocations: 1.034 MB / 3.341 GB, free: 363.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/6.381, allocations: 0 / 3.341 GB, free: 363.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/6.382, allocations: 0.702 MB / 3.342 GB, free: 362.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/6.383, allocations: 284.1 kB / 3.342 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/6.388, allocations: 2.52 MB / 3.345 GB, free: 359.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/6.388, allocations: 1.102 MB / 3.346 GB, free: 358.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001137/6.389, allocations: 323 kB / 3.346 GB, free: 358.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/6.39, allocations: 127.4 kB / 3.346 GB, free: 358 MB / 1.167 GB Notification: Performance of SimCode: time 9.52e-07/6.39, allocations: 0 / 3.346 GB, free: 358 MB / 1.167 GB Notification: Performance of Templates: time 0.03727/6.427, allocations: 27.8 MB / 3.373 GB, free: 330.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches