Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_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.004195/0.004195, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001225/0.001225, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6485, allocations: 159.1 MB / 1.22 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.175/0.8235, allocations: 154.5 MB / 1.371 GB, free: 7.086 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.8373, allocations: 10.54 MB / 1.381 GB, free: 12.52 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.8378, allocations: 19.88 kB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.8386, allocations: 281.7 kB / 1.382 GB, free: 12.22 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.841, allocations: 0.9571 MB / 1.383 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.8435, allocations: 1.096 MB / 1.384 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.8452, allocations: 1.729 MB / 1.385 GB, free: 8.438 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.8467, allocations: 1.146 MB / 1.386 GB, free: 7.258 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.8484, allocations: 0.7259 MB / 1.387 GB, free: 6.547 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.8491, allocations: 0.6185 MB / 1.388 GB, free: 5.926 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.8494, allocations: 136 kB / 1.388 GB, free: 5.793 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.8511, allocations: 1.022 MB / 1.389 GB, free: 4.77 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.8515, allocations: 390.8 kB / 1.389 GB, free: 4.387 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.8521, allocations: 0.6763 MB / 1.39 GB, free: 3.707 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.8547, allocations: 2.239 MB / 1.392 GB, free: 1.461 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8547, allocations: 0 / 1.392 GB, free: 1.461 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.397e-06/0.8548, allocations: 4 kB / 1.392 GB, free: 1.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.8548, allocations: 3.938 kB / 1.392 GB, free: 1.453 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.002989/0.8578, allocations: 1.782 MB / 1.394 GB, free: 15.61 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.8578, allocations: 8.625 kB / 1.394 GB, free: 15.6 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.858, allocations: 152.1 kB / 1.394 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.8596, allocations: 274.9 kB / 1.394 GB, free: 15.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.8611, allocations: 1.094 MB / 1.395 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.8612, allocations: 70 kB / 1.395 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8614, allocations: 96 kB / 1.395 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.8634, allocations: 1.11 MB / 1.397 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.8634, allocations: 4 kB / 1.397 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/0.8635, allocations: 36 kB / 1.397 GB, free: 12.69 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.8635, allocations: 24 kB / 1.397 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.866, allocations: 1.323 MB / 1.398 GB, free: 11.34 MB / 1.123 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.005243/0.8712, allocations: 3.474 MB / 1.401 GB, free: 7.707 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.8734, allocations: 1.111 MB / 1.402 GB, free: 6.578 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/0.8743, allocations: 421.5 kB / 1.403 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.8745, allocations: 146 kB / 1.403 GB, free: 6.004 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.8757, allocations: 0.6191 MB / 1.404 GB, free: 5.363 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 2.194e-06/0.8757, allocations: 4 kB / 1.404 GB, free: 5.359 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.004301/0.8801, allocations: 1.636 MB / 1.405 GB, free: 3.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8802, allocations: 196.9 kB / 1.405 GB, free: 3.445 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8815, allocations: 1.021 MB / 1.406 GB, free: 2.418 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.8815, allocations: 45.7 kB / 1.406 GB, free: 2.367 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.882, allocations: 481.2 kB / 1.407 GB, free: 1.891 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8822, allocations: 329.2 kB / 1.407 GB, free: 1.566 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.8825, allocations: 170.6 kB / 1.407 GB, free: 1.391 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8827, allocations: 334 kB / 1.408 GB, free: 1.059 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.8835, allocations: 341.8 kB / 1.408 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008947/0.8844, allocations: 476.9 kB / 1.408 GB, free: 232 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.886, allocations: 0.7648 MB / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.886, allocations: 0 / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002553/0.8886, allocations: 1.041 MB / 1.41 GB, free: 14.39 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8886, allocations: 8 kB / 1.41 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8886, allocations: 0 / 1.41 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007262/0.8893, allocations: 117.6 kB / 1.41 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.8902, allocations: 195.7 kB / 1.41 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.8936, allocations: 3.073 MB / 1.413 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.8944, allocations: 107.5 kB / 1.414 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.8945, allocations: 35.97 kB / 1.414 GB, free: 10.58 MB / 1.139 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.0004414/0.8949, allocations: 317.5 kB / 1.414 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.8951, allocations: 107.3 kB / 1.414 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/0.8983, allocations: 1.314 MB / 1.415 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8983, allocations: 12 kB / 1.415 GB, free: 8.805 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8983, allocations: 0 / 1.415 GB, free: 8.805 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.8983, allocations: 3.984 kB / 1.415 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.9027, allocations: 2.451 MB / 1.418 GB, free: 6.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9027, allocations: 0 / 1.418 GB, free: 6.289 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.9035, allocations: 187.8 kB / 1.418 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/0.9041, allocations: 105.6 kB / 1.418 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.9042, allocations: 27.97 kB / 1.418 GB, free: 5.969 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.9074, allocations: 3.097 MB / 1.421 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9074, allocations: 0 / 1.421 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.9101, allocations: 1.249 MB / 1.422 GB, free: 1.312 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.9106, allocations: 328 kB / 1.423 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.9107, allocations: 27.98 kB / 1.423 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.9116, allocations: 79.8 kB / 1.423 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9117, allocations: 88.81 kB / 1.423 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.9118, allocations: 47.97 kB / 1.423 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000956/0.9128, allocations: 0.7489 MB / 1.424 GB, free: 15.99 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9128, allocations: 0 / 1.424 GB, free: 15.99 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00102/0.9138, allocations: 450.9 kB / 1.424 GB, free: 15.55 MB / 1.154 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.005077/0.9189, allocations: 2.404 MB / 1.426 GB, free: 13.3 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.9212, allocations: 1.119 MB / 1.427 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.9212, allocations: 0 / 1.427 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.9225, allocations: 0.7411 MB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.924, allocations: 363.1 kB / 1.428 GB, free: 11.07 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.9379, allocations: 8.361 MB / 1.437 GB, free: 2.551 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.9387, allocations: 1.107 MB / 1.438 GB, free: 1.414 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009239/0.9397, allocations: 311.9 kB / 1.438 GB, free: 1.105 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/0.9404, allocations: 471.2 kB / 1.438 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.9404, allocations: 0 / 1.438 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/1.008, allocations: 28.25 MB / 1.466 GB, free: 4.766 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.53, allocations: 10.77 kB / 1.466 GB, free: 4.762 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_11_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