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.005823/0.005823, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001148/0.001148, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.259/2.259, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7727, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1913/0.9641, allocations: 154 MB / 1.238 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.9804, allocations: 10.49 MB / 1.249 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.9823, allocations: 23.88 kB / 1.249 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.984, allocations: 261.8 kB / 1.249 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.988, allocations: 0.9276 MB / 1.25 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.9914, allocations: 1.074 MB / 1.251 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.9938, allocations: 1.644 MB / 1.252 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.9958, allocations: 1.19 MB / 1.254 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.9979, allocations: 0.6982 MB / 1.254 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.9989, allocations: 0.6106 MB / 1.255 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.9992, allocations: 136 kB / 1.255 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/1.001, allocations: 1.03 MB / 1.256 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/1.002, allocations: 378.9 kB / 1.256 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008436/1.003, allocations: 0.649 MB / 1.257 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.006, allocations: 2.189 MB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.006, allocations: 0 / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.006, allocations: 4 kB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.028e-05/1.006, allocations: 0 / 1.259 GB, free: 14.36 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003655/1.01, allocations: 1.691 MB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.01, allocations: 8.031 kB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/1.012, allocations: 270.1 kB / 1.261 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/1.013, allocations: 0.9095 MB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/1.013, allocations: 74 kB / 1.262 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/1.014, allocations: 96 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.016, allocations: 1.11 MB / 1.263 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.016, allocations: 0 / 1.263 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.016, allocations: 47.94 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.016, allocations: 24 kB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/1.018, allocations: 1.315 MB / 1.265 GB, free: 8.684 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.00546/1.024, allocations: 3.189 MB / 1.268 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/1.026, allocations: 1.098 MB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/1.027, allocations: 420 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/1.027, allocations: 142 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/1.028, allocations: 0.6176 MB / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.374e-06/1.028, allocations: 0 / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004634/1.033, allocations: 1.631 MB / 1.271 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/1.033, allocations: 196.9 kB / 1.272 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.034, allocations: 0.8018 MB / 1.272 GB, free: 336 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.034, allocations: 45.7 kB / 1.272 GB, free: 284 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/1.035, allocations: 468.6 kB / 1.273 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.035, allocations: 311.5 kB / 1.273 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/1.035, allocations: 186.5 kB / 1.273 GB, free: 15.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.035, allocations: 338 kB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/1.036, allocations: 357.8 kB / 1.274 GB, free: 14.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/1.037, allocations: 473.6 kB / 1.274 GB, free: 14.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/1.039, allocations: 0.796 MB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.039, allocations: 0 / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002747/1.042, allocations: 1.084 MB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.042, allocations: 6.031 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.042, allocations: 7.984 kB / 1.276 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/1.042, allocations: 113.6 kB / 1.276 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/1.043, allocations: 211.7 kB / 1.277 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.047, allocations: 3.06 MB / 1.28 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.048, allocations: 119.2 kB / 1.28 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.048, allocations: 43.91 kB / 1.28 GB, free: 8.398 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 (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.0006754/1.049, allocations: 318.6 kB / 1.28 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/1.049, allocations: 98.78 kB / 1.28 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/1.052, allocations: 1.31 MB / 1.281 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.052, allocations: 12 kB / 1.281 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.052, allocations: 0 / 1.281 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.052, allocations: 7.984 kB / 1.281 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/1.057, allocations: 2.423 MB / 1.284 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.057, allocations: 0 / 1.284 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/1.058, allocations: 199.7 kB / 1.284 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/1.059, allocations: 101.6 kB / 1.284 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/1.059, allocations: 27.92 kB / 1.284 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/1.062, allocations: 3.084 MB / 1.287 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.062, allocations: 144 / 1.287 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/1.065, allocations: 1.237 MB / 1.288 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/1.066, allocations: 315.5 kB / 1.289 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/1.066, allocations: 20.06 kB / 1.289 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/1.067, allocations: 87.89 kB / 1.289 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.067, allocations: 80.83 kB / 1.289 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.067, allocations: 43.97 kB / 1.289 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008657/1.068, allocations: 0.5731 MB / 1.289 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.068, allocations: 0 / 1.289 GB, free: 14.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001325/1.069, allocations: 447 kB / 1.29 GB, free: 13.62 MB / 1.029 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.00181/1.071, allocations: 0.714 MB / 1.291 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002459/1.074, allocations: 1.146 MB / 1.292 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.074, allocations: 3.938 kB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.075, allocations: 0.7371 MB / 1.292 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.077, allocations: 345.5 kB / 1.293 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/1.082, allocations: 2.119 MB / 1.295 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/1.082, allocations: 1.103 MB / 1.296 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001028/1.083, allocations: 307.6 kB / 1.296 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/1.084, allocations: 123.3 kB / 1.296 GB, free: 7.137 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.084, allocations: 0 / 1.296 GB, free: 7.137 MB / 1.029 GB Notification: Performance of Templates: time 0.03469/1.119, allocations: 19.78 MB / 1.316 GB, free: 3.559 MB / 1.045 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/jenkins/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