Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001564/0.001564, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001523/0.001523, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.22 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6785/0.9689, allocations: 154.5 MB / 1.17 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.9828, allocations: 10.54 MB / 1.18 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009996/0.9838, allocations: 20.34 kB / 1.18 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.9848, allocations: 283.2 kB / 1.18 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.9879, allocations: 0.9757 MB / 1.181 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.991, allocations: 1.089 MB / 1.182 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.9933, allocations: 1.722 MB / 1.184 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.9948, allocations: 1.146 MB / 1.185 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.9968, allocations: 0.7163 MB / 1.186 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.9976, allocations: 0.6273 MB / 1.186 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.9978, allocations: 134.1 kB / 1.187 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/1, allocations: 1.027 MB / 1.188 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/1, allocations: 379.9 kB / 1.188 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006482/1.001, allocations: 0.6656 MB / 1.189 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/1.004, allocations: 2.212 MB / 1.191 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.004, allocations: 0 / 1.191 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/1.004, allocations: 0 / 1.191 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.277e-05/1.004, allocations: 0 / 1.191 GB, free: 2.234 MB / 0.8887 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.003183/1.008, allocations: 1.713 MB / 1.192 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.008, allocations: 13.09 kB / 1.192 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/1.009, allocations: 265.4 kB / 1.193 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.011, allocations: 0.9016 MB / 1.194 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/1.011, allocations: 77.81 kB / 1.194 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.011, allocations: 91.94 kB / 1.194 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/1.013, allocations: 1.111 MB / 1.195 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.013, allocations: 0 / 1.195 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/1.013, allocations: 42.16 kB / 1.195 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.013, allocations: 23.78 kB / 1.195 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.015, allocations: 1.323 MB / 1.196 GB, free: 14.68 MB / 0.9044 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.005161/1.02, allocations: 3.412 MB / 1.199 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/1.022, allocations: 1.099 MB / 1.201 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/1.023, allocations: 420.8 kB / 1.201 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/1.023, allocations: 137.2 kB / 1.201 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.024, allocations: 0.6218 MB / 1.202 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=95): time 3.937e-06/1.024, allocations: 3.984 kB / 1.202 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95): time 0.003997/1.028, allocations: 1.631 MB / 1.203 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.028, allocations: 191.2 kB / 1.203 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.03, allocations: 0.8088 MB / 1.204 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/1.03, allocations: 42.89 kB / 1.204 GB, free: 9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/1.03, allocations: 462 kB / 1.205 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/1.03, allocations: 312.4 kB / 1.205 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.031, allocations: 184.4 kB / 1.205 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.031, allocations: 341.4 kB / 1.206 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/1.031, allocations: 356.9 kB / 1.206 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/1.032, allocations: 475.8 kB / 1.206 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.034, allocations: 0.7895 MB / 1.207 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.034, allocations: 2.781 kB / 1.207 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002444/1.036, allocations: 1.088 MB / 1.208 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.036, allocations: 4.5 kB / 1.208 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.036, allocations: 2.844 kB / 1.208 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007697/1.037, allocations: 114.2 kB / 1.208 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/1.038, allocations: 207.7 kB / 1.208 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/1.041, allocations: 3.069 MB / 1.211 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.042, allocations: 111.3 kB / 1.212 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/1.042, allocations: 43.91 kB / 1.212 GB, free: 2.672 MB / 0.9044 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.000612/1.043, allocations: 311.3 kB / 1.212 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/1.043, allocations: 102.8 kB / 1.212 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.046, allocations: 1.318 MB / 1.213 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/1.046, allocations: 12 kB / 1.213 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.046, allocations: 4 kB / 1.213 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.046, allocations: 3.984 kB / 1.213 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/1.05, allocations: 2.423 MB / 1.216 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.05, allocations: 4 kB / 1.216 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/1.051, allocations: 191.8 kB / 1.216 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/1.051, allocations: 109.6 kB / 1.216 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/1.051, allocations: 27.92 kB / 1.216 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.054, allocations: 3.092 MB / 1.219 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.054, allocations: 4.031 kB / 1.219 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/1.057, allocations: 1.225 MB / 1.22 GB, free: 9.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/1.057, allocations: 315.5 kB / 1.221 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.058, allocations: 20 kB / 1.221 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/1.058, allocations: 89.69 kB / 1.221 GB, free: 9.016 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.059, allocations: 76.89 kB / 1.221 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.059, allocations: 47.91 kB / 1.221 GB, free: 8.895 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007536/1.06, allocations: 0.5693 MB / 1.221 GB, free: 8.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.3e-07/1.06, allocations: 0 / 1.221 GB, free: 8.332 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001248/1.061, allocations: 459 kB / 1.222 GB, free: 7.883 MB / 0.92 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.001659/1.062, allocations: 0.718 MB / 1.222 GB, free: 7.348 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002279/1.065, allocations: 1.139 MB / 1.224 GB, free: 6.184 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.065, allocations: 4.062 kB / 1.224 GB, free: 6.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/1.066, allocations: 0.7371 MB / 1.224 GB, free: 5.414 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.068, allocations: 364 kB / 1.225 GB, free: 5.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/1.071, allocations: 2.011 MB / 1.227 GB, free: 3.047 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/1.072, allocations: 1.107 MB / 1.228 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009742/1.073, allocations: 311.7 kB / 1.228 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.073, allocations: 123.4 kB / 1.228 GB, free: 1.48 MB / 0.92 GB Notification: Performance of SimCode: time 3.636e-06/1.073, allocations: 0 / 1.228 GB, free: 1.48 MB / 0.92 GB Notification: Performance of Templates: time 0.04516/1.119, allocations: 20 MB / 1.248 GB, free: 13.7 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches