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.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,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.0008064/0.0008064, allocations: 90.52 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.004997/0.004997, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.588/2.588, allocations: 443.3 MB / 0.7175 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 12.88 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 155.2 MB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1802/0.478, allocations: 163.8 MB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.4993, allocations: 17.15 MB / 1.208 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.5014, allocations: 27.81 kB / 1.208 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.5031, allocations: 493 kB / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.5091, allocations: 1.591 MB / 1.21 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.5127, allocations: 1.272 MB / 1.211 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003979/0.5167, allocations: 3.085 MB / 1.214 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.519, allocations: 1.671 MB / 1.216 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.5237, allocations: 1.098 MB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5249, allocations: 0.9019 MB / 1.218 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.5251, allocations: 52 kB / 1.218 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.5284, allocations: 1.509 MB / 1.219 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.5291, allocations: 0.5877 MB / 1.22 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.5302, allocations: 1.007 MB / 1.221 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.5342, allocations: 3.402 MB / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5342, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5342, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.747e-05/0.5343, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9825 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.00392/0.5382, allocations: 2.285 MB / 1.226 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5383, allocations: 12.03 kB / 1.226 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.542, allocations: 0.5708 MB / 1.227 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.5445, allocations: 1.595 MB / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.5447, allocations: 131.4 kB / 1.229 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.5451, allocations: 168 kB / 1.229 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.549, allocations: 1.952 MB / 1.231 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.5491, allocations: 0 / 1.231 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.5492, allocations: 76 kB / 1.231 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.5493, allocations: 40 kB / 1.231 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.5527, allocations: 2.097 MB / 1.233 GB, free: 4.883 MB / 0.9825 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.009686/0.5624, allocations: 6.116 MB / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.5659, allocations: 2.093 MB / 1.241 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.5672, allocations: 0.7647 MB / 1.242 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.5678, allocations: 425.6 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/0.5696, allocations: 1.02 MB / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.835e-06/0.5696, allocations: 0 / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006968/0.5766, allocations: 2.977 MB / 1.246 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.5768, allocations: 197.2 kB / 1.246 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.5793, allocations: 1.787 MB / 1.248 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.5795, allocations: 57.7 kB / 1.248 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.5802, allocations: 0.8349 MB / 1.249 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.5806, allocations: 485 kB / 1.249 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.5809, allocations: 101.7 kB / 1.249 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.581, allocations: 361.9 kB / 1.25 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.5822, allocations: 0.5921 MB / 1.25 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.5835, allocations: 0.8091 MB / 1.251 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.5859, allocations: 1.349 MB / 1.252 GB, free: 164 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5859, allocations: 0 / 1.252 GB, free: 164 kB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.5769/1.163, allocations: 1.805 MB / 1.254 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.163, allocations: 9.562 kB / 1.254 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.163, allocations: 2.938 kB / 1.254 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.164, allocations: 217 kB / 1.254 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.165, allocations: 334.2 kB / 1.255 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/1.17, allocations: 6.81 MB / 1.261 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.172, allocations: 188.1 kB / 1.261 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.172, allocations: 57.89 kB / 1.261 GB, free: 211.2 MB / 0.9981 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.001222/1.174, allocations: 493.6 kB / 1.262 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/1.174, allocations: 183.9 kB / 1.262 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/1.179, allocations: 2.132 MB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.179, allocations: 15.47 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.179, allocations: 6.547 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/1.179, allocations: 7.125 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/1.187, allocations: 3.997 MB / 1.268 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.187, allocations: 0 / 1.268 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.188, allocations: 319.8 kB / 1.268 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009783/1.189, allocations: 218.2 kB / 1.269 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.19, allocations: 41.47 kB / 1.269 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/1.194, allocations: 6.845 MB / 1.275 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.194, allocations: 0.6562 kB / 1.275 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/1.2, allocations: 1.994 MB / 1.277 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/1.201, allocations: 494.4 kB / 1.278 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.201, allocations: 26.77 kB / 1.278 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.202, allocations: 148.7 kB / 1.278 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.202, allocations: 116.1 kB / 1.278 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.203, allocations: 72.48 kB / 1.278 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001956/1.205, allocations: 1.28 MB / 1.279 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/1.205, allocations: 0 / 1.279 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002099/1.207, allocations: 0.6825 MB / 1.28 GB, free: 201.8 MB / 0.9981 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.001755/1.208, allocations: 0.7513 MB / 1.281 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003352/1.212, allocations: 2.089 MB / 1.283 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.212, allocations: 1.75 kB / 1.283 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.214, allocations: 1.42 MB / 1.284 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.216, allocations: 0.5079 MB / 1.285 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/1.223, allocations: 4.611 MB / 1.289 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.224, allocations: 1.526 MB / 1.291 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002073/1.226, allocations: 0.5117 MB / 1.291 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.226, allocations: 170.4 kB / 1.291 GB, free: 196 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.227, allocations: 0 / 1.291 GB, free: 196 MB / 0.9981 GB Notification: Performance of Templates: time 0.04608/1.273, allocations: 30.33 MB / 1.321 GB, free: 171.5 MB / 0.9981 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