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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_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.00678/0.00678, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001596/0.001597, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.75 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.227, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1459/0.3729, allocations: 154 MB / 1.238 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3858, allocations: 10.49 MB / 1.248 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.3867, allocations: 19.88 kB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3879, allocations: 261.8 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.391, allocations: 0.926 MB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.3936, allocations: 1.072 MB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.3954, allocations: 1.648 MB / 1.252 GB, free: 8.914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.397, allocations: 1.185 MB / 1.253 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.3987, allocations: 0.7015 MB / 1.254 GB, free: 7.016 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009839/0.3997, allocations: 0.6029 MB / 1.254 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.4001, allocations: 139.9 kB / 1.255 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.4024, allocations: 1.034 MB / 1.256 GB, free: 5.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.4028, allocations: 378.9 kB / 1.256 GB, free: 4.867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.4036, allocations: 0.6607 MB / 1.257 GB, free: 4.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.4071, allocations: 2.224 MB / 1.259 GB, free: 1.973 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4071, allocations: 0 / 1.259 GB, free: 1.973 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4071, allocations: 0 / 1.259 GB, free: 1.973 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.181e-05/0.4072, allocations: 0 / 1.259 GB, free: 1.973 MB / 1.014 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.003509/0.4107, allocations: 1.715 MB / 1.26 GB, free: 204 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4107, allocations: 12.03 kB / 1.26 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.4109, allocations: 152.1 kB / 1.261 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4716/0.8826, allocations: 263.8 kB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.8843, allocations: 1.082 MB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.8844, allocations: 74.58 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.8846, allocations: 95.11 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.8867, allocations: 1.108 MB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.8867, allocations: 5.25 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.8868, allocations: 43.55 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.8869, allocations: 23.31 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.8894, allocations: 1.32 MB / 1.264 GB, free: 173.9 MB / 1.014 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.005316/0.8947, allocations: 3.245 MB / 1.268 GB, free: 172.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.8968, allocations: 1.101 MB / 1.269 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000825/0.8977, allocations: 417.1 kB / 1.269 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.8979, allocations: 140.9 kB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.8991, allocations: 0.6178 MB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 2.796e-06/0.8991, allocations: 4.844 kB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.004568/0.9037, allocations: 1.634 MB / 1.271 GB, free: 170.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.9038, allocations: 192.7 kB / 1.272 GB, free: 170.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.9054, allocations: 1.02 MB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.9055, allocations: 47.52 kB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.9058, allocations: 473.2 kB / 1.273 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.9061, allocations: 312.8 kB / 1.273 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.9063, allocations: 168.4 kB / 1.274 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.9064, allocations: 340.1 kB / 1.274 GB, free: 168.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.9071, allocations: 330 kB / 1.274 GB, free: 168.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.9079, allocations: 476.8 kB / 1.275 GB, free: 168.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.9094, allocations: 0.7686 MB / 1.275 GB, free: 168.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9094, allocations: 1.406 kB / 1.275 GB, free: 168.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002595/0.912, allocations: 1.037 MB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9121, allocations: 9.281 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9121, allocations: 1.688 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007705/0.9129, allocations: 116.9 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009993/0.9139, allocations: 198.9 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.9164, allocations: 3.066 MB / 1.28 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.9174, allocations: 105.3 kB / 1.28 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.9175, allocations: 40.45 kB / 1.28 GB, free: 164.7 MB / 1.014 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.0005264/0.9181, allocations: 307.5 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.9183, allocations: 101.3 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.9213, allocations: 1.323 MB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.9213, allocations: 11.75 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9213, allocations: 0.9688 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.9213, allocations: 13.12 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.9257, allocations: 2.443 MB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9257, allocations: 0 / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.9266, allocations: 189.5 kB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.9271, allocations: 103.2 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/0.9272, allocations: 31.14 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.9295, allocations: 3.092 MB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9296, allocations: 4.766 kB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.9323, allocations: 1.235 MB / 1.288 GB, free: 159.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.9328, allocations: 324.9 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.933, allocations: 22.22 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.9338, allocations: 80.09 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.9341, allocations: 80.55 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.9342, allocations: 44.28 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008965/0.9351, allocations: 0.7499 MB / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9351, allocations: 0 / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001265/0.9364, allocations: 444 kB / 1.29 GB, free: 158.5 MB / 1.014 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.004323/0.9407, allocations: 2.403 MB / 1.293 GB, free: 157.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.9429, allocations: 1.108 MB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9429, allocations: 1.469 kB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.9441, allocations: 0.7398 MB / 1.294 GB, free: 156.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.9457, allocations: 359.5 kB / 1.295 GB, free: 156.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.9606, allocations: 8.434 MB / 1.303 GB, free: 152.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.9612, allocations: 1.105 MB / 1.304 GB, free: 151.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001072/0.9623, allocations: 314.9 kB / 1.304 GB, free: 151.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/0.9629, allocations: 473.7 kB / 1.305 GB, free: 151.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/0.9629, allocations: 0 / 1.305 GB, free: 151.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/1.017, allocations: 27.84 MB / 1.332 GB, free: 127.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.18, allocations: 8.016 kB / 1.332 GB, free: 127.6 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_9_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