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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001773/0.001773, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001978/0.001978, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.665 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.14 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2849, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7295/1.015, allocations: 151.9 MB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01449/1.029, allocations: 10.36 MB / 1.108 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/1.031, allocations: 20.72 kB / 1.108 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/1.032, allocations: 215.9 kB / 1.108 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/1.036, allocations: 0.8341 MB / 1.109 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/1.04, allocations: 0.9643 MB / 1.11 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003044/1.043, allocations: 1.637 MB / 1.112 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.045, allocations: 1.184 MB / 1.113 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/1.048, allocations: 0.703 MB / 1.114 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/1.049, allocations: 0.6152 MB / 1.114 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/1.049, allocations: 134 kB / 1.114 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/1.052, allocations: 1.012 MB / 1.115 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004318/1.053, allocations: 385.2 kB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009473/1.053, allocations: 0.6549 MB / 1.116 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/1.057, allocations: 1.628 MB / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.057, allocations: 0 / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/1.057, allocations: 1.094 kB / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.84e-05/1.057, allocations: 0 / 1.118 GB, free: 5.602 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.003897/1.061, allocations: 1.702 MB / 1.12 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.061, allocations: 9.797 kB / 1.12 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/1.062, allocations: 269.5 kB / 1.12 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.064, allocations: 0.8813 MB / 1.121 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/1.064, allocations: 75.97 kB / 1.121 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.064, allocations: 95.84 kB / 1.121 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.066, allocations: 1.109 MB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/1.066, allocations: 1.688 kB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.066, allocations: 40.44 kB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/1.066, allocations: 24.36 kB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/1.069, allocations: 1.319 MB / 1.123 GB, free: 20.13 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.005665/1.075, allocations: 3.213 MB / 1.126 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/1.077, allocations: 1.108 MB / 1.128 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/1.077, allocations: 417 kB / 1.128 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/1.078, allocations: 141.4 kB / 1.128 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.079, allocations: 0.6152 MB / 1.129 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 3.286e-06/1.079, allocations: 4 kB / 1.129 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.004397/1.083, allocations: 1.628 MB / 1.13 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.083, allocations: 201.9 kB / 1.13 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.085, allocations: 0.8117 MB / 1.131 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/1.085, allocations: 45.33 kB / 1.131 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/1.085, allocations: 457.1 kB / 1.132 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.085, allocations: 312.5 kB / 1.132 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/1.086, allocations: 182 kB / 1.132 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.086, allocations: 344.6 kB / 1.133 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/1.087, allocations: 356.7 kB / 1.133 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/1.087, allocations: 475.8 kB / 1.133 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/1.089, allocations: 0.7882 MB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.089, allocations: 0.9375 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002603/1.092, allocations: 1.085 MB / 1.135 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.092, allocations: 4.594 kB / 1.135 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.092, allocations: 5.375 kB / 1.135 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/1.092, allocations: 110.8 kB / 1.135 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/1.093, allocations: 208.7 kB / 1.135 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/1.097, allocations: 3.069 MB / 1.138 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.098, allocations: 123.2 kB / 1.139 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.098, allocations: 40.34 kB / 1.139 GB, free: 14.11 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.000663/1.099, allocations: 313.6 kB / 1.139 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/1.099, allocations: 99.28 kB / 1.139 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/1.102, allocations: 1.324 MB / 1.14 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.102, allocations: 11.16 kB / 1.14 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.102, allocations: 1.125 kB / 1.14 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.102, allocations: 2.906 kB / 1.14 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/1.106, allocations: 2.423 MB / 1.143 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.106, allocations: 3 kB / 1.143 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/1.107, allocations: 189.5 kB / 1.143 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/1.108, allocations: 102.1 kB / 1.143 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/1.108, allocations: 35.31 kB / 1.143 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/1.11, allocations: 3.094 MB / 1.146 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.111, allocations: 0 / 1.146 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/1.113, allocations: 1.225 MB / 1.147 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/1.114, allocations: 319.7 kB / 1.148 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.114, allocations: 21.72 kB / 1.148 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/1.115, allocations: 87.62 kB / 1.148 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.115, allocations: 80.62 kB / 1.148 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.115, allocations: 49.59 kB / 1.148 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000861/1.116, allocations: 0.5725 MB / 1.148 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.116, allocations: 0 / 1.148 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001665/1.118, allocations: 440.9 kB / 1.149 GB, free: 8.047 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.001789/1.12, allocations: 0.7187 MB / 1.149 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003378/1.123, allocations: 1.393 MB / 1.151 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.123, allocations: 0 / 1.151 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/1.124, allocations: 0.7417 MB / 1.152 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.126, allocations: 349.9 kB / 1.152 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/1.131, allocations: 2.637 MB / 1.154 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/1.132, allocations: 1.099 MB / 1.155 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/1.132, allocations: 132.2 kB / 1.156 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of SimCode: time 1.353e-06/1.132, allocations: 0 / 1.156 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of Templates: time 0.03438/1.167, allocations: 27.23 MB / 1.182 GB, free: 8.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 -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