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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 102.9 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 192.6 kB / 17.29 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.05 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7485/1.03, allocations: 154 MB / 1.102 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01572/1.046, allocations: 10.49 MB / 1.112 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/1.047, allocations: 20.22 kB / 1.112 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/1.049, allocations: 263.8 kB / 1.112 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004254/1.053, allocations: 0.9349 MB / 1.113 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/1.057, allocations: 1.075 MB / 1.114 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00302/1.06, allocations: 1.64 MB / 1.116 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/1.062, allocations: 1.182 MB / 1.117 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/1.065, allocations: 0.6977 MB / 1.117 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/1.066, allocations: 0.6063 MB / 1.118 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/1.067, allocations: 134.6 kB / 1.118 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/1.07, allocations: 1.035 MB / 1.119 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/1.07, allocations: 386.8 kB / 1.12 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.071, allocations: 0.6489 MB / 1.12 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00556/1.077, allocations: 2.181 MB / 1.122 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.077, allocations: 0 / 1.122 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/1.077, allocations: 3.938 kB / 1.122 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.032e-05/1.077, allocations: 0 / 1.122 GB, free: 5.168 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004703/1.082, allocations: 1.699 MB / 1.124 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.082, allocations: 9.312 kB / 1.124 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/1.084, allocations: 270.8 kB / 1.124 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/1.085, allocations: 0.8989 MB / 1.125 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/1.086, allocations: 80.28 kB / 1.125 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/1.086, allocations: 93.06 kB / 1.125 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/1.088, allocations: 1.107 MB / 1.126 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.088, allocations: 0.6562 kB / 1.126 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.088, allocations: 47.81 kB / 1.126 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/1.088, allocations: 23.44 kB / 1.126 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/1.09, allocations: 1.314 MB / 1.128 GB, free: 19.69 MB / 0.8731 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.005767/1.096, allocations: 3.191 MB / 1.131 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.098, allocations: 1.103 MB / 1.132 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/1.099, allocations: 423.1 kB / 1.132 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/1.099, allocations: 134.7 kB / 1.132 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/1.1, allocations: 0.6243 MB / 1.133 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 3.116e-06/1.1, allocations: 0 / 1.133 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.00453/1.105, allocations: 1.627 MB / 1.135 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.105, allocations: 192 kB / 1.135 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.106, allocations: 0.8116 MB / 1.136 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/1.107, allocations: 44.33 kB / 1.136 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/1.107, allocations: 464.7 kB / 1.136 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/1.107, allocations: 311.7 kB / 1.136 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/1.108, allocations: 189.6 kB / 1.137 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.108, allocations: 340.1 kB / 1.137 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/1.109, allocations: 351 kB / 1.137 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008455/1.109, allocations: 477.9 kB / 1.138 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.111, allocations: 0.7854 MB / 1.138 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.111, allocations: 9.062 kB / 1.138 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00282/1.114, allocations: 1.086 MB / 1.14 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.114, allocations: 5.688 kB / 1.14 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.114, allocations: 5.094 kB / 1.14 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/1.115, allocations: 113.8 kB / 1.14 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.116, allocations: 207.7 kB / 1.14 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/1.119, allocations: 3.078 MB / 1.143 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.12, allocations: 108.8 kB / 1.143 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.121, allocations: 46.7 kB / 1.143 GB, free: 12.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007398/1.121, allocations: 311.8 kB / 1.143 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.122, allocations: 100.2 kB / 1.143 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/1.125, allocations: 1.317 MB / 1.145 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/1.125, allocations: 11.12 kB / 1.145 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.125, allocations: 0 / 1.145 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.125, allocations: 8.141 kB / 1.145 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/1.13, allocations: 2.421 MB / 1.147 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.13, allocations: 0 / 1.147 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/1.13, allocations: 183.9 kB / 1.147 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/1.131, allocations: 106.9 kB / 1.147 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/1.131, allocations: 34.83 kB / 1.147 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/1.134, allocations: 3.089 MB / 1.15 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.134, allocations: 80 / 1.15 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/1.138, allocations: 1.234 MB / 1.152 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007385/1.139, allocations: 313.6 kB / 1.152 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.139, allocations: 22.72 kB / 1.152 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/1.14, allocations: 83.31 kB / 1.152 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.14, allocations: 89.3 kB / 1.152 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.14, allocations: 50.47 kB / 1.152 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008694/1.141, allocations: 0.5697 MB / 1.153 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.141, allocations: 0 / 1.153 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001925/1.143, allocations: 446 kB / 1.153 GB, free: 6.906 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002059/1.145, allocations: 0.7067 MB / 1.154 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002611/1.148, allocations: 1.148 MB / 1.155 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.148, allocations: 2.531 kB / 1.155 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/1.149, allocations: 0.7363 MB / 1.156 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.151, allocations: 337.7 kB / 1.156 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/1.156, allocations: 2.135 MB / 1.158 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/1.156, allocations: 1.102 MB / 1.159 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001428/1.158, allocations: 316.4 kB / 1.159 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.158, allocations: 120.5 kB / 1.16 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of SimCode: time 1.473e-06/1.158, allocations: 0 / 1.16 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of Templates: time 0.03711/1.195, allocations: 19.59 MB / 1.179 GB, free: 11.57 MB / 0.8887 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches