Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_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.001095/0.001095, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009686/0.009686, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 443.3 MB / 0.7175 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 9.781 kB / 0.8796 GB, free: 42.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.321, allocations: 155.2 MB / 1.031 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1538/0.4749, allocations: 150.2 MB / 1.178 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4887, allocations: 10.42 MB / 1.188 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008978/0.4897, allocations: 19.88 kB / 1.188 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.4906, allocations: 230.4 kB / 1.188 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.4934, allocations: 0.8251 MB / 1.189 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.4959, allocations: 0.9507 MB / 1.19 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.4979, allocations: 1.709 MB / 1.192 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.4994, allocations: 0.9864 MB / 1.193 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.5013, allocations: 0.5474 MB / 1.193 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.502, allocations: 0.4936 MB / 1.194 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5022, allocations: 28 kB / 1.194 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.504, allocations: 0.9321 MB / 1.195 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5043, allocations: 258.9 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.505, allocations: 0.5531 MB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.5077, allocations: 2.064 MB / 1.197 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5077, allocations: 4 kB / 1.197 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5078, allocations: 0 / 1.197 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.573e-05/0.5078, allocations: 3.938 kB / 1.197 GB, free: 9.566 MB / 0.9512 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.003092/0.5109, allocations: 1.461 MB / 1.199 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.511, allocations: 8.031 kB / 1.199 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.5128, allocations: 278.1 kB / 1.199 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.5144, allocations: 0.8823 MB / 1.2 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/0.5145, allocations: 81.98 kB / 1.2 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.5147, allocations: 88 kB / 1.2 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.5172, allocations: 1.121 MB / 1.201 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.5172, allocations: 0 / 1.201 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.5174, allocations: 47.98 kB / 1.201 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.5174, allocations: 20 kB / 1.201 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.5199, allocations: 1.339 MB / 1.203 GB, free: 4.105 MB / 0.9512 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.005681/0.5256, allocations: 3.477 MB / 1.206 GB, free: 480 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.5276, allocations: 1.118 MB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008679/0.5285, allocations: 432 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.5288, allocations: 138 kB / 1.208 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.5299, allocations: 0.6371 MB / 1.208 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=95): time 2.545e-06/0.5299, allocations: 0 / 1.208 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95): time 0.00436/0.5343, allocations: 1.659 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.5344, allocations: 192.9 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5355, allocations: 0.8135 MB / 1.211 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5356, allocations: 45.7 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.536, allocations: 464.4 kB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.5363, allocations: 307.5 kB / 1.212 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.5364, allocations: 81.67 kB / 1.212 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5365, allocations: 334 kB / 1.212 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007752/0.5373, allocations: 365.8 kB / 1.212 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.5382, allocations: 489.6 kB / 1.213 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.5399, allocations: 0.8155 MB / 1.214 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5399, allocations: 0 / 1.214 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002624/0.5425, allocations: 1.107 MB / 1.215 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5425, allocations: 10.17 kB / 1.215 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5426, allocations: 4 kB / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.5433, allocations: 113.7 kB / 1.215 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.5443, allocations: 207.7 kB / 1.215 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.5474, allocations: 2.863 MB / 1.218 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5485, allocations: 131.2 kB / 1.218 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5486, allocations: 43.97 kB / 1.218 GB, free: 3.656 MB / 0.9669 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.0005702/0.5492, allocations: 309.1 kB / 1.218 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.5494, allocations: 106.8 kB / 1.218 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.5526, allocations: 1.341 MB / 1.22 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5526, allocations: 8 kB / 1.22 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5526, allocations: 4 kB / 1.22 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5526, allocations: 3.984 kB / 1.22 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.5569, allocations: 2.442 MB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.557, allocations: 4 kB / 1.222 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.5579, allocations: 195.7 kB / 1.222 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000725/0.5586, allocations: 113.6 kB / 1.222 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.5587, allocations: 27.98 kB / 1.222 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.5617, allocations: 2.883 MB / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5617, allocations: 0 / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.5646, allocations: 1.25 MB / 1.226 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.5651, allocations: 327.4 kB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5654, allocations: 23.98 kB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/0.5664, allocations: 107.8 kB / 1.227 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.5666, allocations: 84.81 kB / 1.227 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5667, allocations: 47.91 kB / 1.227 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008444/0.5675, allocations: 0.5693 MB / 1.228 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.5675, allocations: 0 / 1.228 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001347/0.5689, allocations: 455.2 kB / 1.228 GB, free: 8.98 MB / 0.9825 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.00174/0.5706, allocations: 0.7192 MB / 1.229 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.5731, allocations: 1.162 MB / 1.23 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5731, allocations: 4 kB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.5745, allocations: 0.7372 MB / 1.231 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.5763, allocations: 330 kB / 1.231 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.5804, allocations: 2.536 MB / 1.233 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.5812, allocations: 1.111 MB / 1.234 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001188/0.5824, allocations: 315.7 kB / 1.235 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.5828, allocations: 111.4 kB / 1.235 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.5828, allocations: 0 / 1.235 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of Templates: time 0.516/1.099, allocations: 19.04 MB / 1.253 GB, free: 217.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches