Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001938/0.001938, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.5 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3045, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1713/0.4758, allocations: 166.1 MB / 1.214 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.4991, allocations: 17.4 MB / 1.231 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.5008, allocations: 27.81 kB / 1.231 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5024, allocations: 488.9 kB / 1.232 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.5071, allocations: 1.582 MB / 1.233 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.5105, allocations: 1.284 MB / 1.235 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003982/0.5145, allocations: 3.081 MB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.5172, allocations: 1.806 MB / 1.239 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005771/0.523, allocations: 1.248 MB / 1.241 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.5252, allocations: 1.089 MB / 1.242 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00035/0.5255, allocations: 116 kB / 1.242 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.5289, allocations: 1.587 MB / 1.243 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007569/0.5297, allocations: 0.6892 MB / 1.244 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.531, allocations: 1.115 MB / 1.245 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6907/1.222, allocations: 3.499 MB / 1.248 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.222, allocations: 1.188 kB / 1.248 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.775e-06/1.222, allocations: 0 / 1.248 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001598/1.222, allocations: 1.062 kB / 1.248 GB, free: 10.64 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005465/1.227, allocations: 2.755 MB / 1.251 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.227, allocations: 9.469 kB / 1.251 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004119/1.232, allocations: 0.5529 MB / 1.252 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/1.234, allocations: 1.592 MB / 1.253 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/1.234, allocations: 131.4 kB / 1.253 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.235, allocations: 167.5 kB / 1.254 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/1.238, allocations: 1.951 MB / 1.255 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.238, allocations: 0 / 1.255 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/1.238, allocations: 73.64 kB / 1.255 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/1.238, allocations: 41.12 kB / 1.256 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/1.242, allocations: 2.09 MB / 1.258 GB, free: 8.664 MB / 0.9981 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.009136/1.251, allocations: 6.062 MB / 1.263 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/1.255, allocations: 2.088 MB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.256, allocations: 0.769 MB / 1.266 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/1.257, allocations: 435.7 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/1.258, allocations: 0.9971 MB / 1.268 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.427e-06/1.258, allocations: 1.031 kB / 1.268 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007606/1.266, allocations: 2.958 MB / 1.271 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.266, allocations: 196.7 kB / 1.271 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.269, allocations: 1.787 MB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/1.269, allocations: 60.3 kB / 1.273 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/1.269, allocations: 0.8331 MB / 1.273 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/1.27, allocations: 484.2 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/1.27, allocations: 257.3 kB / 1.274 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/1.27, allocations: 352.8 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/1.271, allocations: 0.5922 MB / 1.275 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.273, allocations: 0.799 MB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.275, allocations: 1.338 MB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.275, allocations: 0 / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00378/1.279, allocations: 1.813 MB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.279, allocations: 8.016 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.279, allocations: 1.312 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/1.28, allocations: 215.1 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.281, allocations: 329.6 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/1.287, allocations: 6.812 MB / 1.286 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/1.289, allocations: 178.8 kB / 1.286 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.289, allocations: 62.91 kB / 1.286 GB, free: 12.55 MB / 1.014 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.291, allocations: 488.9 kB / 1.287 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/1.291, allocations: 181 kB / 1.287 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/1.296, allocations: 2.12 MB / 1.289 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.296, allocations: 19.47 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.296, allocations: 2.125 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.296, allocations: 7.625 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/1.303, allocations: 3.982 MB / 1.293 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.303, allocations: 0 / 1.293 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.304, allocations: 321.4 kB / 1.293 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008751/1.305, allocations: 215.9 kB / 1.293 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/1.305, allocations: 41.28 kB / 1.293 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/1.311, allocations: 6.841 MB / 1.3 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.311, allocations: 0 / 1.3 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/1.316, allocations: 1.993 MB / 1.302 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.317, allocations: 467.3 kB / 1.303 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/1.317, allocations: 28.06 kB / 1.303 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.319, allocations: 138.2 kB / 1.303 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.319, allocations: 112.1 kB / 1.303 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.319, allocations: 73.02 kB / 1.303 GB, free: 4.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001668/1.321, allocations: 1.278 MB / 1.304 GB, free: 4.664 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.321, allocations: 0 / 1.304 GB, free: 4.664 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002127/1.323, allocations: 0.6864 MB / 1.305 GB, free: 4.562 MB / 1.014 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001871/1.325, allocations: 0.7466 MB / 1.305 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.328, allocations: 2.085 MB / 1.308 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.328, allocations: 3.594 kB / 1.308 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.33, allocations: 1.412 MB / 1.309 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.333, allocations: 0.5141 MB / 1.309 GB, free: 3.168 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/1.339, allocations: 4.609 MB / 1.314 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.34, allocations: 1.527 MB / 1.315 GB, free: 208 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002155/1.342, allocations: 0.4912 MB / 1.316 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.343, allocations: 176 kB / 1.316 GB, free: 48 kB / 1.014 GB Notification: Performance of SimCode: time 1.263e-06/1.343, allocations: 0 / 1.316 GB, free: 48 kB / 1.014 GB Notification: Performance of Templates: time 0.04875/1.391, allocations: 30.63 MB / 1.346 GB, free: 7.508 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches