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.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_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.005349/0.00535, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.001204/0.001205, allocations: 200 kB / 16.68 MB, free: 5.922 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 / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 67.89 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8015, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1736/0.9751, allocations: 154.5 MB / 1.359 GB, free: 2.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.9891, allocations: 10.55 MB / 1.369 GB, free: 7.902 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.9903, allocations: 15.94 kB / 1.369 GB, free: 7.887 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.9914, allocations: 281.6 kB / 1.369 GB, free: 7.609 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.9942, allocations: 0.971 MB / 1.37 GB, free: 6.637 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.9967, allocations: 1.085 MB / 1.371 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.9983, allocations: 1.725 MB / 1.373 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.9997, allocations: 1.156 MB / 1.374 GB, free: 2.652 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/1.001, allocations: 0.7164 MB / 1.375 GB, free: 1.945 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/1.002, allocations: 0.6223 MB / 1.375 GB, free: 1.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/1.002, allocations: 136 kB / 1.375 GB, free: 1.188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/1.004, allocations: 1.03 MB / 1.376 GB, free: 160 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/1.004, allocations: 386.9 kB / 1.377 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/1.005, allocations: 0.6724 MB / 1.377 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/1.007, allocations: 2.212 MB / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/1.007, allocations: 0 / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.428e-06/1.007, allocations: 3.984 kB / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.007, allocations: 3.938 kB / 1.38 GB, free: 12.88 MB / 1.107 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.002754/1.01, allocations: 1.695 MB / 1.381 GB, free: 11.12 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.01, allocations: 8.031 kB / 1.381 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/1.011, allocations: 274.1 kB / 1.382 GB, free: 10.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.013, allocations: 0.9096 MB / 1.382 GB, free: 9.891 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/1.013, allocations: 70 kB / 1.383 GB, free: 9.824 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.013, allocations: 96 kB / 1.383 GB, free: 9.73 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/1.015, allocations: 1.11 MB / 1.384 GB, free: 8.578 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/1.015, allocations: 4 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.015, allocations: 40 kB / 1.384 GB, free: 8.535 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/1.015, allocations: 24 kB / 1.384 GB, free: 8.512 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/1.017, allocations: 1.323 MB / 1.385 GB, free: 7.191 MB / 1.107 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.004901/1.022, allocations: 3.405 MB / 1.388 GB, free: 3.625 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.024, allocations: 1.102 MB / 1.389 GB, free: 2.508 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/1.025, allocations: 420 kB / 1.39 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/1.025, allocations: 142 kB / 1.39 GB, free: 1.934 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/1.026, allocations: 0.6138 MB / 1.391 GB, free: 1.301 MB / 1.107 GB Notification: Performance of pre-optimization done (n=95): time 2.565e-06/1.026, allocations: 0 / 1.391 GB, free: 1.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=95): time 0.004221/1.031, allocations: 1.631 MB / 1.392 GB, free: 15.62 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/1.031, allocations: 196.9 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/1.032, allocations: 0.8018 MB / 1.393 GB, free: 14.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/1.032, allocations: 49.7 kB / 1.393 GB, free: 14.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/1.032, allocations: 460.4 kB / 1.394 GB, free: 14.06 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/1.032, allocations: 311.5 kB / 1.394 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.033, allocations: 190.4 kB / 1.394 GB, free: 13.56 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.033, allocations: 346 kB / 1.394 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000728/1.034, allocations: 349.8 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/1.034, allocations: 477.6 kB / 1.395 GB, free: 12.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.036, allocations: 0.7882 MB / 1.396 GB, free: 11.59 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.036, allocations: 0 / 1.396 GB, free: 11.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002578/1.039, allocations: 1.084 MB / 1.397 GB, free: 10.49 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.039, allocations: 8.062 kB / 1.397 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.039, allocations: 0 / 1.397 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/1.039, allocations: 113.6 kB / 1.397 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/1.04, allocations: 211.7 kB / 1.397 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/1.043, allocations: 3.072 MB / 1.4 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/1.044, allocations: 107.3 kB / 1.4 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/1.044, allocations: 43.97 kB / 1.401 GB, free: 6.652 MB / 1.123 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.0005132/1.045, allocations: 311.5 kB / 1.401 GB, free: 6.34 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/1.045, allocations: 102.7 kB / 1.401 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/1.048, allocations: 1.314 MB / 1.402 GB, free: 4.902 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.048, allocations: 12 kB / 1.402 GB, free: 4.891 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.048, allocations: 0 / 1.402 GB, free: 4.891 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.048, allocations: 3.984 kB / 1.402 GB, free: 4.887 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/1.052, allocations: 2.423 MB / 1.405 GB, free: 2.398 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.052, allocations: 4 kB / 1.405 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/1.053, allocations: 191.7 kB / 1.405 GB, free: 2.207 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005788/1.054, allocations: 101.6 kB / 1.405 GB, free: 2.102 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/1.054, allocations: 35.92 kB / 1.405 GB, free: 2.066 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/1.057, allocations: 3.092 MB / 1.408 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.057, allocations: 0 / 1.408 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.059, allocations: 1.237 MB / 1.409 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/1.06, allocations: 315.5 kB / 1.409 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.06, allocations: 24 kB / 1.409 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008235/1.061, allocations: 73.45 kB / 1.41 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.061, allocations: 88.77 kB / 1.41 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.061, allocations: 47.97 kB / 1.41 GB, free: 12.87 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007427/1.062, allocations: 0.5693 MB / 1.41 GB, free: 12.31 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 1.41 GB, free: 12.31 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001237/1.063, allocations: 455.2 kB / 1.411 GB, free: 11.86 MB / 1.139 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.001697/1.065, allocations: 0.7111 MB / 1.411 GB, free: 11.34 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.067, allocations: 1.146 MB / 1.412 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.067, allocations: 0 / 1.412 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.068, allocations: 0.7412 MB / 1.413 GB, free: 9.398 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.07, allocations: 371 kB / 1.414 GB, free: 9.055 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/1.073, allocations: 2.002 MB / 1.415 GB, free: 7.031 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/1.074, allocations: 1.11 MB / 1.417 GB, free: 5.891 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009697/1.075, allocations: 311.7 kB / 1.417 GB, free: 5.582 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/1.075, allocations: 119.4 kB / 1.417 GB, free: 5.465 MB / 1.139 GB Notification: Performance of SimCode: time 5.51e-07/1.075, allocations: 0 / 1.417 GB, free: 5.465 MB / 1.139 GB Notification: Performance of Templates: time 0.03521/1.111, allocations: 20.54 MB / 1.437 GB, free: 1.133 MB / 1.154 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