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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 197 kB / 16.53 MB, free: 6.664 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.56 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2611, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1471/0.4082, allocations: 154.5 MB / 1.215 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.422, allocations: 10.53 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/0.423, allocations: 23.88 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.4241, allocations: 285.6 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.4269, allocations: 0.977 MB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.4294, allocations: 1.074 MB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.4312, allocations: 1.713 MB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.4327, allocations: 1.15 MB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.4343, allocations: 0.7124 MB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007709/0.4351, allocations: 0.6185 MB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.4353, allocations: 136 kB / 1.231 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.4371, allocations: 0.9909 MB / 1.232 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.4375, allocations: 386.8 kB / 1.233 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.4383, allocations: 0.6763 MB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.441, allocations: 2.181 MB / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.441, allocations: 0 / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.441, allocations: 0 / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.658e-05/0.4411, allocations: 4 kB / 1.236 GB, free: 13.92 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.003468/0.4445, allocations: 1.745 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4446, allocations: 12.03 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.4448, allocations: 152.1 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4465, allocations: 278.1 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.4482, allocations: 1.05 MB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.4483, allocations: 78 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.4484, allocations: 96 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4503, allocations: 1.106 MB / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4503, allocations: 3.938 kB / 1.24 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4504, allocations: 40 kB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.4505, allocations: 24 kB / 1.24 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.4527, allocations: 1.323 MB / 1.241 GB, free: 7.879 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.005069/0.4578, allocations: 3.485 MB / 1.245 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.4598, allocations: 1.114 MB / 1.246 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008011/0.4606, allocations: 420.8 kB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.4609, allocations: 142 kB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.462, allocations: 0.6138 MB / 1.247 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.462, allocations: 4 kB / 1.247 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004283/0.4663, allocations: 1.631 MB / 1.248 GB, free: 212 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4385/0.9048, allocations: 200.7 kB / 1.249 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.9063, allocations: 1.015 MB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.9065, allocations: 46.03 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.9068, allocations: 473.7 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.907, allocations: 305.2 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.9073, allocations: 168 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.9074, allocations: 340.3 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.9081, allocations: 332.5 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/0.909, allocations: 475.5 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.9105, allocations: 0.7698 MB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9105, allocations: 0.8125 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002559/0.9131, allocations: 1.034 MB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.9131, allocations: 9.5 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9131, allocations: 1.578 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007765/0.9139, allocations: 123.8 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.9148, allocations: 197.7 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.9173, allocations: 3.072 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.9181, allocations: 107.9 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.9182, allocations: 37.14 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (100): * Single equations (assignments): 98 * 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.0004048/0.9186, allocations: 306.4 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.9188, allocations: 102.5 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.9215, allocations: 1.325 MB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9215, allocations: 14.06 kB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9215, allocations: 0 / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.9216, allocations: 3.375 kB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.9251, allocations: 2.439 MB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.9251, allocations: 2.344 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.9259, allocations: 191.3 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/0.9265, allocations: 106.5 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.9266, allocations: 34.94 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.9287, allocations: 3.09 MB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9288, allocations: 0 / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.9312, allocations: 1.239 MB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.9316, allocations: 321.5 kB / 1.266 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.9317, allocations: 25.14 kB / 1.266 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/0.9326, allocations: 77.75 kB / 1.266 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.9328, allocations: 82.08 kB / 1.266 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.9329, allocations: 42.59 kB / 1.266 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000896/0.9338, allocations: 0.7514 MB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.9338, allocations: 3.844 kB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001251/0.9351, allocations: 451.2 kB / 1.267 GB, free: 179 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 (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.004222/0.9393, allocations: 2.398 MB / 1.27 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003112/0.9424, allocations: 1.358 MB / 1.271 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9424, allocations: 0 / 1.271 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.9437, allocations: 0.7442 MB / 1.272 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.9454, allocations: 358.8 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.9588, allocations: 8.683 MB / 1.28 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.9595, allocations: 1.103 MB / 1.282 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001184/0.9607, allocations: 321.4 kB / 1.282 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.9613, allocations: 467.4 kB / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.9613, allocations: 0 / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/1.013, allocations: 28.01 MB / 1.31 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.21, allocations: 7.688 kB / 1.31 GB, free: 155.2 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 Error: Could not read variable winDir.y in file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " Variables in the reference:time,winDir.y,nor.pWin,weaDat.winSpe Variables in the result:time,nor.CpAct,nor.alpha,nor.pWin,weaDat.weaBus.HDifHor,weaDat.weaBus.HDirNor