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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.004278/0.004278, allocations: 98.86 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.001233/0.001233, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.11 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6805/0.9644, allocations: 154.5 MB / 1.392 GB, free: 3.031 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.9784, allocations: 10.54 MB / 1.403 GB, free: 10.56 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.979, allocations: 20.69 kB / 1.403 GB, free: 10.55 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.9799, allocations: 295.1 kB / 1.403 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.9823, allocations: 0.9617 MB / 1.404 GB, free: 9.605 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.9847, allocations: 1.094 MB / 1.405 GB, free: 8.789 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.9865, allocations: 1.73 MB / 1.407 GB, free: 7.727 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.988, allocations: 1.144 MB / 1.408 GB, free: 6.965 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.9898, allocations: 0.7295 MB / 1.408 GB, free: 6.539 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.9905, allocations: 0.6103 MB / 1.409 GB, free: 6.117 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.9907, allocations: 134.4 kB / 1.409 GB, free: 6.117 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.9927, allocations: 1.028 MB / 1.41 GB, free: 5.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.9931, allocations: 382.6 kB / 1.411 GB, free: 5.348 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.9937, allocations: 0.6806 MB / 1.411 GB, free: 4.852 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.9965, allocations: 2.239 MB / 1.413 GB, free: 3.297 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9965, allocations: 7.938 kB / 1.413 GB, free: 3.289 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9965, allocations: 0 / 1.413 GB, free: 3.289 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.9966, allocations: 0 / 1.413 GB, free: 3.289 MB / 1.107 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.003106/0.9997, allocations: 1.78 MB / 1.415 GB, free: 1.914 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.9997, allocations: 9.156 kB / 1.415 GB, free: 1.914 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.9999, allocations: 150.3 kB / 1.415 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.002, allocations: 275.1 kB / 1.416 GB, free: 1.664 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/1.003, allocations: 1.089 MB / 1.417 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/1.003, allocations: 79.67 kB / 1.417 GB, free: 0.832 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/1.003, allocations: 99.23 kB / 1.417 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/1.005, allocations: 1.103 MB / 1.418 GB, free: 116 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.005, allocations: 0 / 1.418 GB, free: 116 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.005, allocations: 43.05 kB / 1.418 GB, free: 84 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/1.006, allocations: 22.91 kB / 1.418 GB, free: 84 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/1.008, allocations: 1.319 MB / 1.419 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005258/1.013, allocations: 3.515 MB / 1.423 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/1.015, allocations: 1.111 MB / 1.424 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/1.016, allocations: 422.3 kB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/1.016, allocations: 135.5 kB / 1.424 GB, free: 11.72 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/1.017, allocations: 0.6275 MB / 1.425 GB, free: 11.32 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 2.284e-06/1.017, allocations: 0 / 1.425 GB, free: 11.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.004428/1.022, allocations: 1.64 MB / 1.426 GB, free: 9.945 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.022, allocations: 188.9 kB / 1.427 GB, free: 9.715 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/1.023, allocations: 1.029 MB / 1.428 GB, free: 8.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/1.023, allocations: 41.7 kB / 1.428 GB, free: 8.633 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.024, allocations: 477.2 kB / 1.428 GB, free: 8.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/1.024, allocations: 329.2 kB / 1.428 GB, free: 7.836 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/1.024, allocations: 170.5 kB / 1.429 GB, free: 7.664 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.025, allocations: 341.9 kB / 1.429 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007639/1.025, allocations: 329.8 kB / 1.429 GB, free: 7.004 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/1.026, allocations: 480.9 kB / 1.43 GB, free: 6.492 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.028, allocations: 0.7609 MB / 1.43 GB, free: 5.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.028, allocations: 4.812 kB / 1.431 GB, free: 5.719 MB / 1.123 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002625/1.031, allocations: 1.041 MB / 1.432 GB, free: 4.664 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.031, allocations: 7.938 kB / 1.432 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.031, allocations: 0 / 1.432 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/1.031, allocations: 113.7 kB / 1.432 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/1.032, allocations: 199.7 kB / 1.432 GB, free: 4.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/1.036, allocations: 3.07 MB / 1.435 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/1.037, allocations: 113.5 kB / 1.435 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/1.037, allocations: 36.05 kB / 1.435 GB, free: 0.8516 MB / 1.123 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.0004859/1.037, allocations: 317.5 kB / 1.435 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.037, allocations: 107.3 kB / 1.435 GB, free: 436 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.041, allocations: 1.316 MB / 1.437 GB, free: 15.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/1.041, allocations: 8 kB / 1.437 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.041, allocations: 0 / 1.437 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.041, allocations: 7.984 kB / 1.437 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/1.045, allocations: 2.451 MB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.045, allocations: 0 / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/1.046, allocations: 191.8 kB / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005881/1.047, allocations: 101.6 kB / 1.439 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/1.047, allocations: 31.92 kB / 1.439 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/1.05, allocations: 3.104 MB / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/1.05, allocations: 0 / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/1.053, allocations: 1.249 MB / 1.444 GB, free: 7.574 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/1.053, allocations: 331.9 kB / 1.444 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/1.053, allocations: 20 kB / 1.444 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/1.054, allocations: 79.91 kB / 1.444 GB, free: 7.133 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.054, allocations: 84.83 kB / 1.444 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.055, allocations: 43.97 kB / 1.444 GB, free: 7.008 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000974/1.055, allocations: 0.745 MB / 1.445 GB, free: 6.266 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 0 / 1.445 GB, free: 6.266 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001213/1.057, allocations: 454.9 kB / 1.445 GB, free: 5.82 MB / 1.139 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.005374/1.062, allocations: 2.413 MB / 1.448 GB, free: 3.566 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002337/1.064, allocations: 1.115 MB / 1.449 GB, free: 2.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.064, allocations: 0 / 1.449 GB, free: 2.43 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.066, allocations: 0.741 MB / 1.449 GB, free: 1.66 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.067, allocations: 355.9 kB / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.082, allocations: 8.376 MB / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/1.083, allocations: 1.103 MB / 1.459 GB, free: 7.676 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001067/1.084, allocations: 311.9 kB / 1.459 GB, free: 7.367 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007609/1.085, allocations: 463.2 kB / 1.46 GB, free: 6.914 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/1.085, allocations: 4 kB / 1.46 GB, free: 6.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06773/1.153, allocations: 28.26 MB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.82, allocations: 10.34 kB / 1.487 GB, free: 11.01 MB / 1.186 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 400 --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