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.007099/0.007099, allocations: 99.47 kB / 15.73 MB, free: 6.445 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.001761/0.001761, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.306/2.306, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.2 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2468, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1525/0.3994, allocations: 154 MB / 1.238 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.4123, allocations: 10.48 MB / 1.248 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006902/0.413, allocations: 19.88 kB / 1.248 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007698/0.4138, allocations: 269.8 kB / 1.248 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.4161, allocations: 0.9416 MB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.4185, allocations: 1.083 MB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.42, allocations: 1.64 MB / 1.252 GB, free: 8.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.4212, allocations: 1.192 MB / 1.253 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.4227, allocations: 0.7126 MB / 1.254 GB, free: 6.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.4233, allocations: 0.6105 MB / 1.254 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.4235, allocations: 136 kB / 1.255 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.4254, allocations: 1.03 MB / 1.256 GB, free: 5.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.4258, allocations: 382.9 kB / 1.256 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.4264, allocations: 0.6684 MB / 1.257 GB, free: 4.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.429, allocations: 2.215 MB / 1.259 GB, free: 1.941 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.429, allocations: 4 kB / 1.259 GB, free: 1.938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.552e-06/0.429, allocations: 0 / 1.259 GB, free: 1.938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.429, allocations: 0 / 1.259 GB, free: 1.938 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.002937/0.4319, allocations: 1.772 MB / 1.26 GB, free: 108 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.432, allocations: 8.031 kB / 1.26 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4622/0.8942, allocations: 154.4 kB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.8961, allocations: 279.9 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.8981, allocations: 1.079 MB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.8982, allocations: 75.38 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.8984, allocations: 95.11 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.9011, allocations: 1.104 MB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.9012, allocations: 4.688 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9013, allocations: 43.58 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.9013, allocations: 23.62 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.9043, allocations: 1.325 MB / 1.265 GB, free: 173.8 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.005407/0.9097, allocations: 3.25 MB / 1.268 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.9119, allocations: 1.101 MB / 1.269 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/0.9127, allocations: 417.6 kB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.913, allocations: 145.3 kB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.9143, allocations: 0.6112 MB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 2.895e-06/0.9143, allocations: 0 / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.004774/0.9191, allocations: 1.637 MB / 1.272 GB, free: 170.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.9192, allocations: 192.1 kB / 1.272 GB, free: 170.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.9208, allocations: 1.027 MB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/0.9209, allocations: 44.39 kB / 1.273 GB, free: 169.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.9212, allocations: 479.3 kB / 1.273 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.9215, allocations: 328.4 kB / 1.274 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.9217, allocations: 168.4 kB / 1.274 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.9218, allocations: 335.9 kB / 1.274 GB, free: 168.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.9225, allocations: 343.8 kB / 1.274 GB, free: 168.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.9233, allocations: 471 kB / 1.275 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.9248, allocations: 0.7689 MB / 1.276 GB, free: 168.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9248, allocations: 1.375 kB / 1.276 GB, free: 168.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002545/0.9274, allocations: 1.043 MB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.9274, allocations: 6.062 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9274, allocations: 4.594 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/0.9282, allocations: 119.9 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/0.9292, allocations: 198 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.9317, allocations: 3.06 MB / 1.28 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.9326, allocations: 114.3 kB / 1.28 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.9326, allocations: 33.27 kB / 1.28 GB, free: 164.6 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.000498/0.9332, allocations: 313.9 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.9334, allocations: 105.2 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.9363, allocations: 1.328 MB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.9363, allocations: 10.84 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9364, allocations: 1.312 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9364, allocations: 9.375 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.9406, allocations: 2.447 MB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9406, allocations: 0.7188 kB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.9415, allocations: 188.8 kB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005842/0.9421, allocations: 106.8 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.9422, allocations: 36.22 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.9445, allocations: 3.092 MB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.9445, allocations: 1.312 kB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.9471, allocations: 1.244 MB / 1.289 GB, free: 159.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.9477, allocations: 329.6 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.9478, allocations: 19.83 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/0.9487, allocations: 76.25 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.9489, allocations: 80.8 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.913e-05/0.949, allocations: 47.47 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009243/0.95, allocations: 0.7497 MB / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.95, allocations: 4.859 kB / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001187/0.9512, allocations: 444.7 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.004285/0.9555, allocations: 2.4 MB / 1.293 GB, free: 157.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.9577, allocations: 1.111 MB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9577, allocations: 1.312 kB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.959, allocations: 0.7401 MB / 1.295 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.001534/0.9605, allocations: 352.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.01444/0.975, allocations: 8.482 MB / 1.303 GB, free: 152.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.9756, allocations: 1.107 MB / 1.304 GB, free: 151.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001074/0.9767, allocations: 315.4 kB / 1.305 GB, free: 151.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.9773, allocations: 466.2 kB / 1.305 GB, free: 151.2 MB / 1.014 GB Notification: Performance of SimCode: time 9.21e-07/0.9773, allocations: 0 / 1.305 GB, free: 151.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/1.025, allocations: 27.85 MB / 1.332 GB, free: 127.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.95, allocations: 6.016 kB / 1.332 GB, free: 127.5 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