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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.006988/0.006988, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.001603/0.001603, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.661/2.661, allocations: 469.4 MB / 0.7422 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 59.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2846, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6772/0.9618, allocations: 154.5 MB / 1.371 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01353/0.9754, allocations: 10.54 MB / 1.381 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.9763, allocations: 16.72 kB / 1.381 GB, free: 4.812 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.9773, allocations: 288.3 kB / 1.381 GB, free: 4.633 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.9802, allocations: 0.9937 MB / 1.382 GB, free: 4.035 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.9827, allocations: 1.089 MB / 1.383 GB, free: 3.227 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.9847, allocations: 1.731 MB / 1.385 GB, free: 2.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.9862, allocations: 1.142 MB / 1.386 GB, free: 1.406 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.9881, allocations: 0.726 MB / 1.387 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.9892, allocations: 0.6263 MB / 1.387 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.9895, allocations: 134.2 kB / 1.388 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.9915, allocations: 1.032 MB / 1.389 GB, free: 64 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.9919, allocations: 383.1 kB / 1.389 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.9925, allocations: 0.6803 MB / 1.39 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.9951, allocations: 2.24 MB / 1.392 GB, free: 13.72 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.9951, allocations: 0 / 1.392 GB, free: 13.72 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.437e-06/0.9951, allocations: 0 / 1.392 GB, free: 13.72 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.9952, allocations: 5.062 kB / 1.392 GB, free: 13.72 MB / 1.092 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.002941/0.9981, allocations: 1.783 MB / 1.393 GB, free: 12.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.9981, allocations: 9.906 kB / 1.393 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.9983, allocations: 153.2 kB / 1.394 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1, allocations: 279.4 kB / 1.394 GB, free: 12.08 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.001, allocations: 1.082 MB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/1.002, allocations: 73.72 kB / 1.395 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.002, allocations: 91.09 kB / 1.395 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.004, allocations: 1.114 MB / 1.396 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/1.004, allocations: 3.984 kB / 1.396 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.004, allocations: 47.12 kB / 1.396 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/1.004, allocations: 23.88 kB / 1.396 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.006, allocations: 1.31 MB / 1.398 GB, free: 9.887 MB / 1.092 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.005054/1.011, allocations: 3.477 MB / 1.401 GB, free: 7.125 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/1.013, allocations: 1.105 MB / 1.402 GB, free: 6.527 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/1.014, allocations: 425.2 kB / 1.402 GB, free: 6.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/1.014, allocations: 140.3 kB / 1.403 GB, free: 6.199 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/1.015, allocations: 0.6153 MB / 1.403 GB, free: 5.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=95): time 2.354e-06/1.015, allocations: 0 / 1.403 GB, free: 5.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=95): time 0.004089/1.019, allocations: 1.647 MB / 1.405 GB, free: 4.891 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/1.019, allocations: 194.6 kB / 1.405 GB, free: 4.668 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.021, allocations: 1.023 MB / 1.406 GB, free: 4.145 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/1.021, allocations: 46.02 kB / 1.406 GB, free: 4.098 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/1.021, allocations: 481.5 kB / 1.406 GB, free: 3.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.021, allocations: 328.5 kB / 1.407 GB, free: 3.395 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/1.021, allocations: 168.4 kB / 1.407 GB, free: 3.293 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.022, allocations: 339.6 kB / 1.407 GB, free: 2.965 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/1.022, allocations: 328.5 kB / 1.408 GB, free: 2.809 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/1.023, allocations: 471.9 kB / 1.408 GB, free: 2.516 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.025, allocations: 0.7658 MB / 1.409 GB, free: 2.113 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.025, allocations: 0 / 1.409 GB, free: 2.113 MB / 1.092 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002321/1.027, allocations: 1.043 MB / 1.41 GB, free: 1.582 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.027, allocations: 5.969 kB / 1.41 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.027, allocations: 0 / 1.41 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/1.028, allocations: 113.7 kB / 1.41 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/1.029, allocations: 197 kB / 1.41 GB, free: 1.473 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/1.032, allocations: 3.078 MB / 1.413 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/1.033, allocations: 115.6 kB / 1.413 GB, free: 14.31 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/1.033, allocations: 39 kB / 1.413 GB, free: 14.29 MB / 1.107 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.0004394/1.033, allocations: 311.5 kB / 1.414 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/1.033, allocations: 117.7 kB / 1.414 GB, free: 13.99 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/1.036, allocations: 1.313 MB / 1.415 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.036, allocations: 10.19 kB / 1.415 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.036, allocations: 6.625 kB / 1.415 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.036, allocations: 7.969 kB / 1.415 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/1.04, allocations: 2.442 MB / 1.417 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.04, allocations: 0 / 1.417 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/1.041, allocations: 195.7 kB / 1.418 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/1.042, allocations: 101.6 kB / 1.418 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/1.042, allocations: 39.91 kB / 1.418 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/1.045, allocations: 3.085 MB / 1.421 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.045, allocations: 0 / 1.421 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/1.047, allocations: 1.245 MB / 1.422 GB, free: 5.809 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/1.048, allocations: 332 kB / 1.422 GB, free: 5.465 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.048, allocations: 20 kB / 1.422 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/1.049, allocations: 87.33 kB / 1.422 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.049, allocations: 80.83 kB / 1.422 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.049, allocations: 43.97 kB / 1.422 GB, free: 5.242 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008292/1.05, allocations: 0.7567 MB / 1.423 GB, free: 4.488 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/1.05, allocations: 0 / 1.423 GB, free: 4.488 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001141/1.051, allocations: 454.9 kB / 1.424 GB, free: 4.043 MB / 1.107 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.004271/1.055, allocations: 2.405 MB / 1.426 GB, free: 1.797 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002165/1.057, allocations: 1.111 MB / 1.427 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.057, allocations: 4 kB / 1.427 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/1.059, allocations: 0.7372 MB / 1.428 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.06, allocations: 366.4 kB / 1.428 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.073, allocations: 8.374 MB / 1.436 GB, free: 7.035 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/1.074, allocations: 1.107 MB / 1.437 GB, free: 5.898 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000949/1.075, allocations: 311.9 kB / 1.438 GB, free: 5.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/1.075, allocations: 471.2 kB / 1.438 GB, free: 5.129 MB / 1.123 GB Notification: Performance of SimCode: time 5.91e-07/1.075, allocations: 0 / 1.438 GB, free: 5.129 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05513/1.13, allocations: 28.25 MB / 1.466 GB, free: 9.242 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.02, allocations: 12 kB / 1.466 GB, free: 9.23 MB / 1.154 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