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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004852/0.004852, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001171/0.001172, allocations: 197 kB / 16.68 MB, free: 5.926 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.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.807, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1759/0.983, allocations: 154.5 MB / 1.358 GB, free: 2.449 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01793/1.001, allocations: 10.54 MB / 1.368 GB, free: 7.875 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/1.002, allocations: 23.88 kB / 1.368 GB, free: 7.852 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/1.004, allocations: 281.6 kB / 1.369 GB, free: 7.574 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/1.008, allocations: 0.9679 MB / 1.37 GB, free: 6.605 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/1.011, allocations: 1.085 MB / 1.371 GB, free: 5.531 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002722/1.014, allocations: 1.733 MB / 1.372 GB, free: 3.793 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/1.016, allocations: 1.146 MB / 1.374 GB, free: 2.621 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/1.018, allocations: 0.7315 MB / 1.374 GB, free: 1.898 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/1.02, allocations: 0.6146 MB / 1.375 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004234/1.02, allocations: 132 kB / 1.375 GB, free: 1.152 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/1.023, allocations: 1.03 MB / 1.376 GB, free: 124 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006219/1.023, allocations: 394.9 kB / 1.376 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/1.024, allocations: 0.6763 MB / 1.377 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/1.029, allocations: 2.231 MB / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.029, allocations: 0 / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.316e-06/1.029, allocations: 0 / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.634e-05/1.029, allocations: 3.938 kB / 1.379 GB, free: 12.81 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.004336/1.033, allocations: 1.738 MB / 1.381 GB, free: 11.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.033, allocations: 12.03 kB / 1.381 GB, free: 11 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002912/1.034, allocations: 148.1 kB / 1.381 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/1.036, allocations: 278 kB / 1.381 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/1.037, allocations: 1.077 MB / 1.382 GB, free: 9.457 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/1.038, allocations: 74 kB / 1.382 GB, free: 9.387 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/1.038, allocations: 99.98 kB / 1.383 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/1.04, allocations: 1.102 MB / 1.384 GB, free: 8.145 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.04, allocations: 0 / 1.384 GB, free: 8.145 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.04, allocations: 40 kB / 1.384 GB, free: 8.105 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/1.04, allocations: 31.98 kB / 1.384 GB, free: 8.074 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/1.043, allocations: 1.315 MB / 1.385 GB, free: 6.762 MB / 1.107 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.005995/1.049, allocations: 3.453 MB / 1.388 GB, free: 3.145 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.051, allocations: 1.102 MB / 1.389 GB, free: 2.027 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/1.052, allocations: 423.7 kB / 1.39 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/1.052, allocations: 146 kB / 1.39 GB, free: 1.445 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/1.053, allocations: 0.6177 MB / 1.391 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/1.053, allocations: 0 / 1.391 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of matching and sorting (n=95): time 0.004414/1.057, allocations: 1.635 MB / 1.392 GB, free: 15.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.058, allocations: 192.9 kB / 1.392 GB, free: 14.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/1.059, allocations: 1.021 MB / 1.393 GB, free: 13.86 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.059, allocations: 45.7 kB / 1.393 GB, free: 13.81 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/1.06, allocations: 472.4 kB / 1.394 GB, free: 13.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/1.06, allocations: 315.6 kB / 1.394 GB, free: 13.03 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.06, allocations: 162.5 kB / 1.394 GB, free: 12.86 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.06, allocations: 337.9 kB / 1.395 GB, free: 12.53 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/1.061, allocations: 333.8 kB / 1.395 GB, free: 12.2 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/1.062, allocations: 477 kB / 1.395 GB, free: 11.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/1.063, allocations: 0.7648 MB / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.063, allocations: 0 / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002595/1.066, allocations: 1.041 MB / 1.397 GB, free: 9.875 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.066, allocations: 4 kB / 1.397 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.066, allocations: 0 / 1.397 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/1.067, allocations: 113.7 kB / 1.397 GB, free: 9.754 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/1.068, allocations: 203.7 kB / 1.397 GB, free: 9.555 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/1.071, allocations: 3.067 MB / 1.4 GB, free: 6.203 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.072, allocations: 117.2 kB / 1.401 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.072, allocations: 35.92 kB / 1.401 GB, free: 6.055 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.0007693/1.073, allocations: 305.5 kB / 1.401 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/1.073, allocations: 102.8 kB / 1.401 GB, free: 5.645 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.077, allocations: 1.322 MB / 1.402 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.077, allocations: 12 kB / 1.402 GB, free: 4.289 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.077, allocations: 0 / 1.402 GB, free: 4.289 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.077, allocations: 7.984 kB / 1.402 GB, free: 4.281 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/1.082, allocations: 2.454 MB / 1.405 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.082, allocations: 0 / 1.405 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/1.083, allocations: 191.8 kB / 1.405 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006079/1.083, allocations: 105.6 kB / 1.405 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.083, allocations: 23.98 kB / 1.405 GB, free: 1.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/1.086, allocations: 3.1 MB / 1.408 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.086, allocations: 64 / 1.408 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.089, allocations: 1.248 MB / 1.409 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/1.09, allocations: 319.4 kB / 1.41 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.09, allocations: 20 kB / 1.41 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/1.091, allocations: 85.11 kB / 1.41 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.091, allocations: 80.83 kB / 1.41 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.091, allocations: 43.97 kB / 1.41 GB, free: 12.23 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009881/1.092, allocations: 0.745 MB / 1.411 GB, free: 11.49 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.51e-07/1.092, allocations: 0 / 1.411 GB, free: 11.49 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001287/1.094, allocations: 459 kB / 1.411 GB, free: 11.04 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.004656/1.098, allocations: 2.397 MB / 1.413 GB, free: 8.809 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00237/1.101, allocations: 1.107 MB / 1.414 GB, free: 7.672 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.101, allocations: 0 / 1.414 GB, free: 7.672 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.102, allocations: 0.7449 MB / 1.415 GB, free: 6.902 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.104, allocations: 351.5 kB / 1.415 GB, free: 6.574 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.119, allocations: 8.329 MB / 1.424 GB, free: 14.1 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/1.12, allocations: 1.11 MB / 1.425 GB, free: 12.96 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001285/1.121, allocations: 319.8 kB / 1.425 GB, free: 12.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/1.122, allocations: 471.2 kB / 1.425 GB, free: 12.18 MB / 1.154 GB Notification: Performance of SimCode: time 1.042e-06/1.122, allocations: 0 / 1.425 GB, free: 12.18 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/1.188, allocations: 28.79 MB / 1.454 GB, free: 15.77 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.45, allocations: 13.47 kB / 1.454 GB, free: 15.76 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches