Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_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.004835/0.004835, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001262/0.001262, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6665/0.9136, allocations: 154.5 MB / 1.317 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.9268, allocations: 10.55 MB / 1.327 GB, free: 5.254 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000662/0.9275, allocations: 17.94 kB / 1.327 GB, free: 5.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.9283, allocations: 289.4 kB / 1.328 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.9308, allocations: 0.9824 MB / 1.329 GB, free: 4.535 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.9333, allocations: 1.093 MB / 1.33 GB, free: 3.949 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.935, allocations: 1.722 MB / 1.331 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.9363, allocations: 1.149 MB / 1.332 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.9378, allocations: 0.733 MB / 1.333 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.9384, allocations: 0.6219 MB / 1.334 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.9386, allocations: 134.1 kB / 1.334 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.9404, allocations: 1.023 MB / 1.335 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.9407, allocations: 385 kB / 1.335 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.9413, allocations: 0.6781 MB / 1.336 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.9436, allocations: 2.24 MB / 1.338 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9436, allocations: 0 / 1.338 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9436, allocations: 2.578 kB / 1.338 GB, free: 12 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.9436, allocations: 0 / 1.338 GB, free: 12 kB / 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.002915/0.9465, allocations: 1.787 MB / 1.34 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9466, allocations: 14.19 kB / 1.34 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.9468, allocations: 154.9 kB / 1.34 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.9484, allocations: 273.2 kB / 1.34 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.9498, allocations: 1.089 MB / 1.341 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.9499, allocations: 73.72 kB / 1.341 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.9501, allocations: 99.59 kB / 1.342 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.9519, allocations: 1.106 MB / 1.343 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9519, allocations: 5.297 kB / 1.343 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.9521, allocations: 41.62 kB / 1.343 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.9521, allocations: 23.66 kB / 1.343 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.9543, allocations: 1.322 MB / 1.344 GB, free: 13.11 MB / 1.029 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.004835/0.9591, allocations: 3.465 MB / 1.347 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.9611, allocations: 1.104 MB / 1.348 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.9619, allocations: 421.1 kB / 1.349 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.9621, allocations: 135.9 kB / 1.349 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.9632, allocations: 0.6191 MB / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=95): time 2.374e-06/0.9632, allocations: 0 / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=95): time 0.004089/0.9673, allocations: 1.638 MB / 1.351 GB, free: 9.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.9674, allocations: 197.9 kB / 1.351 GB, free: 9.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.9686, allocations: 1.026 MB / 1.352 GB, free: 8.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/0.9687, allocations: 45.17 kB / 1.352 GB, free: 8.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.969, allocations: 477.6 kB / 1.353 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.9692, allocations: 327.1 kB / 1.353 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.9695, allocations: 167 kB / 1.353 GB, free: 7.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9696, allocations: 338.1 kB / 1.354 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.9704, allocations: 337.8 kB / 1.354 GB, free: 7.496 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.9712, allocations: 470.7 kB / 1.354 GB, free: 7.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.9728, allocations: 0.7632 MB / 1.355 GB, free: 6.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9728, allocations: 4.812 kB / 1.355 GB, free: 6.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002435/0.9752, allocations: 1.042 MB / 1.356 GB, free: 6.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9753, allocations: 6.656 kB / 1.356 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9753, allocations: 64 / 1.356 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.976, allocations: 116.5 kB / 1.356 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.9769, allocations: 202.3 kB / 1.357 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.9798, allocations: 3.071 MB / 1.36 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.9807, allocations: 115.3 kB / 1.36 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.9807, allocations: 35.27 kB / 1.36 GB, free: 2.977 MB / 1.029 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.000435/0.9812, allocations: 311.9 kB / 1.36 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.9814, allocations: 108.8 kB / 1.36 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.9843, allocations: 1.313 MB / 1.361 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.9843, allocations: 10.94 kB / 1.361 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9843, allocations: 1.406 kB / 1.361 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.9843, allocations: 3.984 kB / 1.361 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.9884, allocations: 2.454 MB / 1.364 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9884, allocations: 0 / 1.364 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.9892, allocations: 187.8 kB / 1.364 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.9898, allocations: 110.3 kB / 1.364 GB, free: 248 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/0.9899, allocations: 27.02 kB / 1.364 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.9926, allocations: 3.094 MB / 1.367 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9926, allocations: 0 / 1.367 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.9951, allocations: 1.243 MB / 1.368 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.9957, allocations: 327.9 kB / 1.369 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.9958, allocations: 21.59 kB / 1.369 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.9967, allocations: 85.42 kB / 1.369 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9969, allocations: 85.56 kB / 1.369 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.997, allocations: 44.69 kB / 1.369 GB, free: 12.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008336/0.9978, allocations: 0.7486 MB / 1.37 GB, free: 11.65 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9978, allocations: 4 kB / 1.37 GB, free: 11.65 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001186/0.999, allocations: 457.5 kB / 1.37 GB, free: 11.52 MB / 1.045 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.004322/1.003, allocations: 2.403 MB / 1.372 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.005, allocations: 1.109 MB / 1.373 GB, free: 9.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.005, allocations: 11.38 kB / 1.373 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/1.007, allocations: 0.7421 MB / 1.374 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.008, allocations: 363 kB / 1.375 GB, free: 8.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.021, allocations: 8.367 MB / 1.383 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/1.021, allocations: 1.109 MB / 1.384 GB, free: 3.086 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009682/1.022, allocations: 322.7 kB / 1.384 GB, free: 2.922 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/1.023, allocations: 465.4 kB / 1.385 GB, free: 2.551 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/1.023, allocations: 0 / 1.385 GB, free: 2.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/1.078, allocations: 28.26 MB / 1.412 GB, free: 8.184 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.08, allocations: 7.984 kB / 1.412 GB, free: 8.176 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_10_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