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.053/2.053, 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.001149/0.001149, allocations: 184.6 kB / 487.4 MB, free: 5.055 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.431/1.431, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0008365/0.0008368, allocations: 99.08 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.689e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2799, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.61/4.89, allocations: 1.937 GB / 3.143 GB, free: 346.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/4.89, allocations: 85.28 kB / 3.143 GB, free: 346.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2798/5.17, allocations: 150.9 MB / 3.291 GB, free: 219.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.502e-06/5.17, allocations: 3.938 kB / 3.291 GB, free: 219.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001103/5.17, allocations: 28 kB / 3.291 GB, free: 219.9 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.00282/5.173, allocations: 1.335 MB / 3.292 GB, free: 218.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/5.173, allocations: 8.031 kB / 3.292 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/5.174, allocations: 266.2 kB / 3.292 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/5.176, allocations: 0.8148 MB / 3.293 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/5.176, allocations: 32 kB / 3.293 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/5.176, allocations: 56 kB / 3.293 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001581/5.178, allocations: 1.136 MB / 3.294 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/5.179, allocations: 0.8521 MB / 3.295 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/5.179, allocations: 4 kB / 3.295 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/5.179, allocations: 0 / 3.295 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/5.179, allocations: 24 kB / 3.295 GB, free: 215.2 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.004494/5.184, allocations: 2.962 MB / 3.298 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/5.185, allocations: 0.8998 MB / 3.299 GB, free: 211.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/5.185, allocations: 336.6 kB / 3.299 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/5.186, allocations: 125.9 kB / 3.299 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/5.186, allocations: 491.6 kB / 3.3 GB, free: 210.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.517e-06/5.186, allocations: 0 / 3.3 GB, free: 210.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001831/5.188, allocations: 0.8365 MB / 3.301 GB, free: 209.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/5.188, allocations: 244.1 kB / 3.301 GB, free: 209.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/5.189, allocations: 0.7068 MB / 3.302 GB, free: 208.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/5.189, allocations: 29.7 kB / 3.302 GB, free: 208.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/5.189, allocations: 452.2 kB / 3.302 GB, free: 207.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/5.189, allocations: 275.9 kB / 3.302 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/5.189, allocations: 0 / 3.302 GB, free: 207.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/5.189, allocations: 334 kB / 3.303 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/5.19, allocations: 241.5 kB / 3.303 GB, free: 207.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/5.19, allocations: 386.1 kB / 3.303 GB, free: 206.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/5.191, allocations: 304.4 kB / 3.304 GB, free: 206.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.191, allocations: 0 / 3.304 GB, free: 206.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001458/5.192, allocations: 0.8287 MB / 3.304 GB, free: 205.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/5.192, allocations: 4 kB / 3.304 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.192, allocations: 0 / 3.304 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/5.193, allocations: 109.7 kB / 3.304 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/5.193, allocations: 183.7 kB / 3.305 GB, free: 205.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/5.195, allocations: 2.742 MB / 3.307 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/5.196, allocations: 87.45 kB / 3.307 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/5.196, allocations: 31.98 kB / 3.307 GB, free: 202.1 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.0001692/5.196, allocations: 122 kB / 3.308 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/5.197, allocations: 98.83 kB / 3.308 GB, free: 201.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/5.199, allocations: 1.098 MB / 3.309 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/5.199, allocations: 12 kB / 3.309 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/5.199, allocations: 7.938 kB / 3.309 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/5.199, allocations: 3.984 kB / 3.309 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/5.201, allocations: 2.082 MB / 3.311 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.201, allocations: 4 kB / 3.311 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/5.202, allocations: 191.8 kB / 3.311 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/5.202, allocations: 117.5 kB / 3.311 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/5.202, allocations: 11.98 kB / 3.311 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/5.204, allocations: 2.764 MB / 3.314 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.204, allocations: 288 / 3.314 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/5.206, allocations: 1.013 MB / 3.315 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/5.206, allocations: 343.5 kB / 3.315 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/5.206, allocations: 0 / 3.315 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/5.207, allocations: 71.94 kB / 3.315 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.207, allocations: 73.2 kB / 3.315 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/5.207, allocations: 39.97 kB / 3.315 GB, free: 193.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005646/5.208, allocations: 0.5655 MB / 3.316 GB, free: 193.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.208, allocations: 0 / 3.316 GB, free: 193.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001359/5.209, allocations: 490.7 kB / 3.316 GB, free: 192.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 (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.002045/5.211, allocations: 1.437 MB / 3.318 GB, free: 191.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001208/5.212, allocations: 0.894 MB / 3.319 GB, free: 190.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.212, allocations: 0 / 3.319 GB, free: 190.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006613/5.213, allocations: 0.6215 MB / 3.319 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/5.214, allocations: 265.5 kB / 3.319 GB, free: 189.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/5.217, allocations: 1.558 MB / 3.321 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/5.218, allocations: 1.102 MB / 3.322 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000916/5.219, allocations: 318.7 kB / 3.322 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/5.219, allocations: 111.4 kB / 3.322 GB, free: 186.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.219, allocations: 0 / 3.322 GB, free: 186.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02769/5.247, allocations: 21.47 MB / 3.343 GB, free: 165.1 MB / 1.151 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