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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001545/0.001545, allocations: 100.4 kB / 16.39 MB, free: 6.379 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.001581/0.001581, allocations: 192.4 kB / 17.33 MB, free: 5.848 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 474.5 MB / 0.7477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.05 kB / 1.073 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.7696, allocations: 160.3 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1802/0.9499, allocations: 154.5 MB / 1.38 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.9649, allocations: 10.55 MB / 1.39 GB, free: 5.242 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008867/0.9658, allocations: 23.88 kB / 1.39 GB, free: 5.219 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009782/0.9669, allocations: 285.7 kB / 1.391 GB, free: 4.938 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.97, allocations: 0.9824 MB / 1.392 GB, free: 3.957 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.9729, allocations: 1.09 MB / 1.393 GB, free: 2.875 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.9754, allocations: 1.729 MB / 1.394 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.9772, allocations: 1.146 MB / 1.395 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.9792, allocations: 0.7377 MB / 1.396 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.9801, allocations: 0.6146 MB / 1.397 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.9803, allocations: 132 kB / 1.397 GB, free: 14.49 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.9826, allocations: 1.03 MB / 1.398 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.9831, allocations: 390.8 kB / 1.398 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008412/0.9839, allocations: 0.6646 MB / 1.399 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.988, allocations: 2.226 MB / 1.401 GB, free: 10.18 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9881, allocations: 0 / 1.401 GB, free: 10.18 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9881, allocations: 0 / 1.401 GB, free: 10.18 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.9881, allocations: 0 / 1.401 GB, free: 10.18 MB / 1.123 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.003474/0.9916, allocations: 1.751 MB / 1.403 GB, free: 8.363 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9916, allocations: 8.031 kB / 1.403 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.9933, allocations: 278.9 kB / 1.403 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9948, allocations: 0.9142 MB / 1.404 GB, free: 7.125 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.9949, allocations: 74 kB / 1.404 GB, free: 7.051 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.9951, allocations: 95.98 kB / 1.404 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.9971, allocations: 1.106 MB / 1.405 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9972, allocations: 0 / 1.405 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.9973, allocations: 47.98 kB / 1.405 GB, free: 5.766 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.9973, allocations: 24 kB / 1.405 GB, free: 5.742 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.9997, allocations: 1.315 MB / 1.407 GB, free: 4.426 MB / 1.123 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.005625/1.005, allocations: 3.416 MB / 1.41 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/1.008, allocations: 1.102 MB / 1.411 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/1.008, allocations: 428 kB / 1.411 GB, free: 15.31 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/1.009, allocations: 134 kB / 1.412 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/1.01, allocations: 0.6254 MB / 1.412 GB, free: 14.52 MB / 1.139 GB Notification: Performance of pre-optimization done (n=95): time 2.285e-06/1.01, allocations: 0 / 1.412 GB, free: 14.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=95): time 0.00456/1.015, allocations: 1.628 MB / 1.414 GB, free: 12.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/1.015, allocations: 196.9 kB / 1.414 GB, free: 12.61 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.016, allocations: 0.8096 MB / 1.415 GB, free: 11.79 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/1.016, allocations: 41.7 kB / 1.415 GB, free: 11.74 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/1.017, allocations: 473.2 kB / 1.415 GB, free: 11.27 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/1.017, allocations: 321.2 kB / 1.416 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/1.017, allocations: 186.6 kB / 1.416 GB, free: 10.77 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.018, allocations: 345.9 kB / 1.416 GB, free: 10.42 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/1.018, allocations: 353.8 kB / 1.416 GB, free: 10.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/1.019, allocations: 473.6 kB / 1.417 GB, free: 9.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.021, allocations: 0.7921 MB / 1.418 GB, free: 8.785 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.021, allocations: 3.938 kB / 1.418 GB, free: 8.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002733/1.024, allocations: 1.096 MB / 1.419 GB, free: 7.676 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.024, allocations: 14.41 kB / 1.419 GB, free: 7.664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.024, allocations: 80 / 1.419 GB, free: 7.664 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000789/1.025, allocations: 117.5 kB / 1.419 GB, free: 7.543 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/1.026, allocations: 203.7 kB / 1.419 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/1.029, allocations: 3.063 MB / 1.422 GB, free: 4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.031, allocations: 115.4 kB / 1.422 GB, free: 3.887 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/1.031, allocations: 39.97 kB / 1.422 GB, free: 3.848 MB / 1.139 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.0006007/1.031, allocations: 319.3 kB / 1.422 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/1.032, allocations: 107.5 kB / 1.423 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/1.035, allocations: 1.314 MB / 1.424 GB, free: 2.086 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.035, allocations: 8 kB / 1.424 GB, free: 2.078 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.035, allocations: 7.984 kB / 1.424 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.035, allocations: 3.984 kB / 1.424 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/1.039, allocations: 2.423 MB / 1.426 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.039, allocations: 0 / 1.426 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/1.04, allocations: 183.8 kB / 1.426 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/1.041, allocations: 105.6 kB / 1.426 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/1.041, allocations: 35.91 kB / 1.426 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/1.044, allocations: 3.108 MB / 1.43 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.044, allocations: 4.031 kB / 1.43 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/1.047, allocations: 1.229 MB / 1.431 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/1.047, allocations: 324 kB / 1.431 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.047, allocations: 20 kB / 1.431 GB, free: 10.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/1.048, allocations: 75.92 kB / 1.431 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.049, allocations: 84.81 kB / 1.431 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.049, allocations: 51.91 kB / 1.431 GB, free: 10.04 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008092/1.049, allocations: 0.5693 MB / 1.432 GB, free: 9.469 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.049, allocations: 0 / 1.432 GB, free: 9.469 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001227/1.051, allocations: 458.9 kB / 1.432 GB, free: 9.02 MB / 1.154 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.002249/1.053, allocations: 0.7173 MB / 1.433 GB, free: 8.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002495/1.055, allocations: 1.146 MB / 1.434 GB, free: 7.312 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.055, allocations: 4 kB / 1.434 GB, free: 7.309 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.057, allocations: 0.7372 MB / 1.435 GB, free: 6.551 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/1.058, allocations: 368.4 kB / 1.435 GB, free: 6.223 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/1.062, allocations: 2.047 MB / 1.437 GB, free: 4.145 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/1.063, allocations: 1.103 MB / 1.438 GB, free: 3.008 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001087/1.064, allocations: 315.6 kB / 1.439 GB, free: 2.695 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/1.065, allocations: 119.4 kB / 1.439 GB, free: 2.578 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.065, allocations: 0 / 1.439 GB, free: 2.578 MB / 1.154 GB Notification: Performance of Templates: time 0.03754/1.102, allocations: 20.26 MB / 1.458 GB, free: 14.52 MB / 1.186 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 -s gbode -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/jenkins1/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