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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001005/0.001005, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001102/0.001102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004152, allocations: 19.92 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7117, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1584/0.8702, allocations: 139.7 MB / 1.091 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.8835, allocations: 9.716 MB / 1.1 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008909/0.8844, allocations: 19.88 kB / 1.1 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.8851, allocations: 194.6 kB / 1.101 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.8872, allocations: 0.7273 MB / 1.101 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.8894, allocations: 0.8345 MB / 1.102 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.8908, allocations: 1.472 MB / 1.103 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.892, allocations: 0.8839 MB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/0.8929, allocations: 0.5173 MB / 1.105 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.8934, allocations: 473.7 kB / 1.105 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.241e-05/0.8935, allocations: 32 kB / 1.105 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.895, allocations: 0.7645 MB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.8953, allocations: 251 kB / 1.106 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.8955, allocations: 233 kB / 1.107 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.8971, allocations: 1.567 MB / 1.108 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8972, allocations: 0 / 1.108 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8972, allocations: 0 / 1.108 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.8972, allocations: 0 / 1.108 GB, free: 1.809 MB / 0.8575 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.002683/0.8999, allocations: 1.462 MB / 1.11 GB, free: 296 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.8999, allocations: 8.031 kB / 1.11 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.9015, allocations: 274.1 kB / 1.11 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.9028, allocations: 0.8517 MB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.9029, allocations: 77.95 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.903, allocations: 92 kB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.905, allocations: 1.106 MB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.905, allocations: 0 / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.9051, allocations: 44 kB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.9051, allocations: 24 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.9074, allocations: 1.335 MB / 1.113 GB, free: 12.4 MB / 0.8731 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.005699/0.9131, allocations: 3.258 MB / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.9152, allocations: 1.114 MB / 1.117 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.916, allocations: 423.7 kB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.9163, allocations: 142 kB / 1.118 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.9174, allocations: 0.6177 MB / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.9174, allocations: 0 / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.003946/0.9213, allocations: 1.659 MB / 1.12 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.517e-05/0.9215, allocations: 200.9 kB / 1.12 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.9225, allocations: 0.7901 MB / 1.121 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.9226, allocations: 49.7 kB / 1.121 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.9229, allocations: 460.4 kB / 1.122 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.9232, allocations: 315.5 kB / 1.122 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.9232, allocations: 16 kB / 1.122 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9233, allocations: 341.9 kB / 1.122 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.9241, allocations: 357.8 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/0.9249, allocations: 489.6 kB / 1.123 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/0.9257, allocations: 406.8 kB / 1.124 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9257, allocations: 0 / 1.124 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002358/0.9281, allocations: 1.099 MB / 1.125 GB, free: 404 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9281, allocations: 4 kB / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.9281, allocations: 0 / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.9288, allocations: 117.7 kB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.9297, allocations: 219.7 kB / 1.125 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.9326, allocations: 2.848 MB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.9337, allocations: 138.2 kB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.9338, allocations: 39.97 kB / 1.128 GB, free: 12.76 MB / 0.8887 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006008/0.9344, allocations: 307.9 kB / 1.128 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.9346, allocations: 102.8 kB / 1.128 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.9377, allocations: 1.341 MB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9377, allocations: 12 kB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9378, allocations: 4 kB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9378, allocations: 3.984 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/0.9423, allocations: 2.45 MB / 1.132 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.9424, allocations: 3.953 kB / 1.132 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.9432, allocations: 199.7 kB / 1.132 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006041/0.9439, allocations: 109.6 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.978e-05/0.944, allocations: 31.98 kB / 1.132 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.9467, allocations: 2.883 MB / 1.135 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.9467, allocations: 0 / 1.135 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.9493, allocations: 1.243 MB / 1.136 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.9498, allocations: 327.3 kB / 1.137 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.95, allocations: 27.98 kB / 1.137 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.9508, allocations: 103.9 kB / 1.137 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.951, allocations: 84.88 kB / 1.137 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.9511, allocations: 39.97 kB / 1.137 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007391/0.9518, allocations: 0.5654 MB / 1.137 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9518, allocations: 0 / 1.137 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001185/0.953, allocations: 447 kB / 1.138 GB, free: 2.105 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/0.9546, allocations: 0.7189 MB / 1.139 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.9568, allocations: 1.15 MB / 1.14 GB, free: 400 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9568, allocations: 4 kB / 1.14 GB, free: 396 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.9581, allocations: 0.7449 MB / 1.14 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.9596, allocations: 315.8 kB / 1.141 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.9644, allocations: 2.648 MB / 1.143 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.9651, allocations: 1.107 MB / 1.144 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9662, allocations: 311.6 kB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.9665, allocations: 119.4 kB / 1.145 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.9665, allocations: 0 / 1.145 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.02897/0.9954, allocations: 18.12 MB / 1.163 GB, free: 9.164 MB / 0.92 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