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.007838/0.007838, allocations: 103.7 kB / 15.74 MB, free: 5.992 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.001881/0.001881, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.372/2.372, allocations: 437.1 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 55.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6636, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1497/0.8133, allocations: 154.5 MB / 1.317 GB, free: 8.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.8265, allocations: 10.55 MB / 1.327 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.8272, allocations: 23.88 kB / 1.327 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.8281, allocations: 273.7 kB / 1.328 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.8307, allocations: 0.9692 MB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.8331, allocations: 1.079 MB / 1.33 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.8349, allocations: 1.729 MB / 1.331 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.8364, allocations: 1.154 MB / 1.332 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.838, allocations: 0.7226 MB / 1.333 GB, free: 8.078 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.8388, allocations: 0.6107 MB / 1.334 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.8391, allocations: 136 kB / 1.334 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.8408, allocations: 1.03 MB / 1.335 GB, free: 6.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.8411, allocations: 386.8 kB / 1.335 GB, free: 5.922 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.8418, allocations: 0.6802 MB / 1.336 GB, free: 5.238 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.8444, allocations: 2.239 MB / 1.338 GB, free: 2.992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8444, allocations: 0 / 1.338 GB, free: 2.992 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8444, allocations: 0 / 1.338 GB, free: 2.992 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.8445, allocations: 0 / 1.338 GB, free: 2.992 MB / 1.061 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.003076/0.8476, allocations: 1.734 MB / 1.34 GB, free: 1.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8476, allocations: 8.922 kB / 1.34 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.8478, allocations: 160.1 kB / 1.34 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.8494, allocations: 266 kB / 1.34 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.8509, allocations: 1.085 MB / 1.341 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.8509, allocations: 70 kB / 1.341 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.8511, allocations: 96 kB / 1.341 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.8529, allocations: 1.106 MB / 1.343 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.853, allocations: 4 kB / 1.343 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8531, allocations: 40 kB / 1.343 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.8531, allocations: 24 kB / 1.343 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.8554, allocations: 1.319 MB / 1.344 GB, free: 12.94 MB / 1.076 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.004912/0.8603, allocations: 3.465 MB / 1.347 GB, free: 9.316 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.8623, allocations: 1.098 MB / 1.348 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.8631, allocations: 419.7 kB / 1.349 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.8634, allocations: 142 kB / 1.349 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.8645, allocations: 0.6254 MB / 1.349 GB, free: 6.984 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 2.444e-06/0.8645, allocations: 0 / 1.349 GB, free: 6.984 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.004213/0.8687, allocations: 1.631 MB / 1.351 GB, free: 5.301 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.8688, allocations: 196.9 kB / 1.351 GB, free: 5.066 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.87, allocations: 1.021 MB / 1.352 GB, free: 4.035 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.87, allocations: 41.7 kB / 1.352 GB, free: 3.988 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.8704, allocations: 476.4 kB / 1.353 GB, free: 3.516 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.8706, allocations: 307.6 kB / 1.353 GB, free: 3.211 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.8709, allocations: 174.5 kB / 1.353 GB, free: 3.035 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.871, allocations: 338 kB / 1.354 GB, free: 2.699 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.8718, allocations: 333.8 kB / 1.354 GB, free: 2.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00087/0.8726, allocations: 465.1 kB / 1.354 GB, free: 1.883 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.8742, allocations: 0.7687 MB / 1.355 GB, free: 1.102 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8742, allocations: 0 / 1.355 GB, free: 1.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002459/0.8767, allocations: 1.048 MB / 1.356 GB, free: 44 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8767, allocations: 4 kB / 1.356 GB, free: 40 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8767, allocations: 4 kB / 1.356 GB, free: 36 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.8775, allocations: 113.6 kB / 1.356 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008934/0.8784, allocations: 199.7 kB / 1.356 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.8814, allocations: 3.072 MB / 1.359 GB, free: 12.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.8822, allocations: 113 kB / 1.359 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.8823, allocations: 31.97 kB / 1.36 GB, free: 12.23 MB / 1.092 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.0004346/0.8827, allocations: 309.5 kB / 1.36 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.883, allocations: 98.78 kB / 1.36 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.886, allocations: 1.326 MB / 1.361 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.8861, allocations: 12 kB / 1.361 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8861, allocations: 0 / 1.361 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8861, allocations: 3.984 kB / 1.361 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.8903, allocations: 2.439 MB / 1.364 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8903, allocations: 0 / 1.364 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.8911, allocations: 191.7 kB / 1.364 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/0.8917, allocations: 109.5 kB / 1.364 GB, free: 7.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/0.8918, allocations: 31.97 kB / 1.364 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.8946, allocations: 3.089 MB / 1.367 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8946, allocations: 0 / 1.367 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.8973, allocations: 1.241 MB / 1.368 GB, free: 2.98 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.8978, allocations: 319.5 kB / 1.368 GB, free: 2.648 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.8979, allocations: 23.98 kB / 1.368 GB, free: 2.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/0.8988, allocations: 79.52 kB / 1.369 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.899, allocations: 92.81 kB / 1.369 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/0.8991, allocations: 43.97 kB / 1.369 GB, free: 2.418 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008652/0.8999, allocations: 0.7489 MB / 1.369 GB, free: 1.672 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8999, allocations: 0 / 1.369 GB, free: 1.672 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001079/0.901, allocations: 455 kB / 1.37 GB, free: 1.227 MB / 1.092 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.004459/0.9055, allocations: 2.387 MB / 1.372 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.9077, allocations: 1.107 MB / 1.373 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.9077, allocations: 7.938 kB / 1.373 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.9091, allocations: 0.7411 MB / 1.374 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.9105, allocations: 362.3 kB / 1.374 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.9239, allocations: 8.338 MB / 1.382 GB, free: 4.246 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.9246, allocations: 1.111 MB / 1.384 GB, free: 3.105 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009651/0.9255, allocations: 311.9 kB / 1.384 GB, free: 2.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/0.9262, allocations: 467.2 kB / 1.384 GB, free: 2.34 MB / 1.107 GB Notification: Performance of SimCode: time 3.6e-07/0.9262, allocations: 0 / 1.384 GB, free: 2.34 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/0.9841, allocations: 28.26 MB / 1.412 GB, free: 6.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.73, allocations: 6.234 kB / 1.412 GB, free: 6.336 MB / 1.139 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