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.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_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.001105/0.001105, allocations: 86.8 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.001309/0.001309, 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 8.656 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2534, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1393/0.3927, allocations: 140.1 MB / 1.195 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.4058, allocations: 9.783 MB / 1.204 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008533/0.4067, allocations: 19.88 kB / 1.204 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.4075, allocations: 202.5 kB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.4099, allocations: 0.7729 MB / 1.205 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.4121, allocations: 0.8363 MB / 1.206 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.4139, allocations: 1.553 MB / 1.208 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.4151, allocations: 0.8647 MB / 1.209 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.4161, allocations: 0.5173 MB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.4167, allocations: 489.7 kB / 1.21 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.4168, allocations: 32 kB / 1.21 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.4182, allocations: 0.7762 MB / 1.21 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.4185, allocations: 247 kB / 1.211 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.4187, allocations: 241.1 kB / 1.211 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.4203, allocations: 1.574 MB / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4203, allocations: 0 / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.002e-06/0.4203, allocations: 4 kB / 1.212 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.4203, allocations: 0 / 1.212 GB, free: 6.906 MB / 0.9669 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.002519/0.4228, allocations: 1.481 MB / 1.214 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.4229, allocations: 8.031 kB / 1.214 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.4245, allocations: 282.1 kB / 1.214 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4257, allocations: 0.844 MB / 1.215 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.4258, allocations: 77.98 kB / 1.215 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4259, allocations: 92 kB / 1.215 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.4279, allocations: 1.102 MB / 1.216 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4279, allocations: 4 kB / 1.216 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.428, allocations: 47.98 kB / 1.216 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4281, allocations: 27.94 kB / 1.216 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.4303, allocations: 1.331 MB / 1.217 GB, free: 1.477 MB / 0.9669 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.004909/0.4353, allocations: 3.467 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.4372, allocations: 1.106 MB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.438, allocations: 428.7 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.4382, allocations: 142 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.4393, allocations: 0.6293 MB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 2.595e-06/0.4393, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.003945/0.4433, allocations: 1.659 MB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.4434, allocations: 192.9 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.4443, allocations: 0.7941 MB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/0.4444, allocations: 45.7 kB / 1.226 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.4448, allocations: 460.5 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.445, allocations: 311.5 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.4451, allocations: 20 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4452, allocations: 345.9 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.4459, allocations: 365.7 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/0.4467, allocations: 481.6 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.4475, allocations: 402.9 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4475, allocations: 0 / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002337/0.4499, allocations: 1.099 MB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4499, allocations: 12.02 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4499, allocations: 3.984 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006769/0.4506, allocations: 121.5 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.4515, allocations: 207.7 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.4544, allocations: 2.857 MB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/0.4552, allocations: 127.3 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.4553, allocations: 35.97 kB / 1.232 GB, free: 1.586 MB / 0.9825 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.0004537/0.4558, allocations: 311.3 kB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4559, allocations: 102.7 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.4589, allocations: 1.337 MB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4589, allocations: 15.98 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4589, allocations: 3.953 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.4589, allocations: 3.984 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/0.4628, allocations: 2.434 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4629, allocations: 0 / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.4637, allocations: 203.8 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005702/0.4643, allocations: 113.6 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.4644, allocations: 27.98 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.4669, allocations: 2.88 MB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.467, allocations: 0 / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.4694, allocations: 1.25 MB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.4698, allocations: 331.3 kB / 1.241 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.47, allocations: 19.98 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.4708, allocations: 102.2 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.471, allocations: 84.88 kB / 1.241 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.395e-05/0.4711, allocations: 43.97 kB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006969/0.4718, allocations: 0.5654 MB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4718, allocations: 0 / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00112/0.4729, allocations: 455.1 kB / 1.242 GB, free: 6.93 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 (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.001583/0.4745, allocations: 0.7164 MB / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.4766, allocations: 1.154 MB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4766, allocations: 4 kB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.4778, allocations: 0.745 MB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.4793, allocations: 316.3 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.4829, allocations: 2.522 MB / 1.248 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.4836, allocations: 1.103 MB / 1.249 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001068/0.4846, allocations: 311.6 kB / 1.249 GB, free: 160 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.485, allocations: 123.4 kB / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.485, allocations: 0 / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of Templates: time 0.4897/0.9747, allocations: 18.5 MB / 1.267 GB, free: 184 MB / 0.9981 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