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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 116.1 kB / 17.16 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 205.5 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 69.78 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.994/0.9961, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2105/1.207, allocations: 157.9 MB / 1.433 GB, free: 14.03 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01577/1.222, allocations: 10.69 MB / 1.444 GB, free: 3.312 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/1.223, allocations: 31.75 kB / 1.444 GB, free: 3.281 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009811/1.224, allocations: 289.6 kB / 1.444 GB, free: 2.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/1.227, allocations: 0.9923 MB / 1.445 GB, free: 2.004 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/1.23, allocations: 1.111 MB / 1.446 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002302/1.232, allocations: 1.741 MB / 1.448 GB, free: 15.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.234, allocations: 0.9494 MB / 1.449 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/1.236, allocations: 0.7753 MB / 1.449 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008787/1.237, allocations: 0.6379 MB / 1.45 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/1.237, allocations: 136 kB / 1.45 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/1.239, allocations: 1.084 MB / 1.451 GB, free: 11.56 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/1.24, allocations: 394.7 kB / 1.451 GB, free: 11.17 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/1.24, allocations: 0.6801 MB / 1.452 GB, free: 10.49 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003512/1.244, allocations: 2.292 MB / 1.454 GB, free: 8.188 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.244, allocations: 0 / 1.454 GB, free: 8.188 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.382e-06/1.244, allocations: 0 / 1.454 GB, free: 8.188 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.464e-05/1.244, allocations: 3.984 kB / 1.454 GB, free: 8.184 MB / 1.139 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.003668/1.248, allocations: 1.817 MB / 1.456 GB, free: 6.305 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.248, allocations: 12.02 kB / 1.456 GB, free: 6.293 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.169e-05/1.248, allocations: 26 kB / 1.456 GB, free: 6.266 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/1.248, allocations: 152.1 kB / 1.456 GB, free: 6.109 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/1.25, allocations: 322.8 kB / 1.457 GB, free: 5.793 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/1.252, allocations: 1.09 MB / 1.458 GB, free: 4.66 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/1.252, allocations: 77.94 kB / 1.458 GB, free: 4.586 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/1.252, allocations: 96 kB / 1.458 GB, free: 4.492 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/1.254, allocations: 1.106 MB / 1.459 GB, free: 3.344 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.254, allocations: 0 / 1.459 GB, free: 3.344 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.255, allocations: 40 kB / 1.459 GB, free: 3.305 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/1.255, allocations: 24 kB / 1.459 GB, free: 3.281 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/1.257, allocations: 1.323 MB / 1.46 GB, free: 1.957 MB / 1.139 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.00591/1.263, allocations: 3.485 MB / 1.464 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/1.265, allocations: 1.051 MB / 1.465 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/1.266, allocations: 393.1 kB / 1.465 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/1.266, allocations: 138 kB / 1.465 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/1.267, allocations: 0.6254 MB / 1.466 GB, free: 12.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 2.735e-06/1.267, allocations: 0 / 1.466 GB, free: 12.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.004508/1.272, allocations: 1.636 MB / 1.467 GB, free: 10.38 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.272, allocations: 196.9 kB / 1.468 GB, free: 10.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.273, allocations: 1.044 MB / 1.469 GB, free: 9.094 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.274, allocations: 49.7 kB / 1.469 GB, free: 9.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/1.274, allocations: 485.2 kB / 1.469 GB, free: 8.559 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/1.274, allocations: 321.2 kB / 1.469 GB, free: 8.242 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.275, allocations: 174.5 kB / 1.47 GB, free: 8.066 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.275, allocations: 341.9 kB / 1.47 GB, free: 7.727 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/1.276, allocations: 337.8 kB / 1.47 GB, free: 7.395 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/1.276, allocations: 473.1 kB / 1.471 GB, free: 6.898 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/1.278, allocations: 0.757 MB / 1.471 GB, free: 6.129 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.278, allocations: 0 / 1.471 GB, free: 6.129 MB / 1.154 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002741/1.281, allocations: 1.057 MB / 1.473 GB, free: 5.059 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.281, allocations: 6.344 kB / 1.473 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.281, allocations: 0 / 1.473 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000767/1.282, allocations: 117.6 kB / 1.473 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/1.283, allocations: 203.7 kB / 1.473 GB, free: 4.734 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/1.286, allocations: 3.057 MB / 1.476 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/1.287, allocations: 111.5 kB / 1.476 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/1.287, allocations: 39.98 kB / 1.476 GB, free: 1.242 MB / 1.154 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.0005806/1.288, allocations: 313.5 kB / 1.476 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.288, allocations: 107.3 kB / 1.476 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/1.291, allocations: 1.314 MB / 1.478 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.291, allocations: 12 kB / 1.478 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.291, allocations: 0 / 1.478 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.291, allocations: 7.984 kB / 1.478 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/1.295, allocations: 2.47 MB / 1.48 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.295, allocations: 0 / 1.48 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/1.296, allocations: 195.6 kB / 1.48 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/1.297, allocations: 105.6 kB / 1.48 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/1.297, allocations: 27.98 kB / 1.48 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003288/1.3, allocations: 3.092 MB / 1.483 GB, free: 9.227 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.3, allocations: 64 / 1.483 GB, free: 9.227 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.303, allocations: 1.249 MB / 1.485 GB, free: 7.953 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/1.304, allocations: 328.1 kB / 1.485 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.304, allocations: 27.95 kB / 1.485 GB, free: 7.586 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/1.305, allocations: 75.84 kB / 1.485 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.305, allocations: 84.83 kB / 1.485 GB, free: 7.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.305, allocations: 47.97 kB / 1.485 GB, free: 7.383 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001033/1.306, allocations: 0.7723 MB / 1.486 GB, free: 6.617 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.306, allocations: 0 / 1.486 GB, free: 6.617 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001263/1.307, allocations: 454.9 kB / 1.486 GB, free: 6.172 MB / 1.17 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.005505/1.313, allocations: 2.388 MB / 1.489 GB, free: 3.934 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002525/1.315, allocations: 1.068 MB / 1.49 GB, free: 2.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.315, allocations: 192 / 1.49 GB, free: 2.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.317, allocations: 0.7136 MB / 1.49 GB, free: 2.102 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.318, allocations: 360.2 kB / 1.491 GB, free: 1.773 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.333, allocations: 8.458 MB / 1.499 GB, free: 9.168 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/1.334, allocations: 1.107 MB / 1.5 GB, free: 8.031 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001203/1.335, allocations: 324 kB / 1.5 GB, free: 7.711 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.336, allocations: 471.2 kB / 1.501 GB, free: 7.25 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.336, allocations: 0 / 1.501 GB, free: 7.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07249/1.409, allocations: 28.72 MB / 1.529 GB, free: 10.86 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.71, allocations: 14.22 kB / 1.529 GB, free: 10.85 MB / 1.217 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.52887494803872]