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.001295/0.001295, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.0015/0.0015, allocations: 218.7 kB / 23.05 MB, free: 5.074 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.981/2.981, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 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.00205/0.00205, allocations: 70.73 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1846/0.5057, allocations: 158 MB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.5225, allocations: 10.85 MB / 1.449 GB, free: 2.336 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.5235, allocations: 27.75 kB / 1.449 GB, free: 2.309 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.5244, allocations: 297.6 kB / 1.449 GB, free: 2.016 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.5276, allocations: 1.009 MB / 1.45 GB, free: 1.008 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.5311, allocations: 1.138 MB / 1.451 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.5338, allocations: 1.748 MB / 1.453 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.5356, allocations: 0.9627 MB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.5378, allocations: 0.7648 MB / 1.455 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.5389, allocations: 0.634 MB / 1.455 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.5391, allocations: 143.9 kB / 1.456 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.5415, allocations: 1.104 MB / 1.457 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.5419, allocations: 394.8 kB / 1.457 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.5427, allocations: 0.6879 MB / 1.458 GB, free: 9.422 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.5465, allocations: 2.297 MB / 1.46 GB, free: 7.117 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5465, allocations: 0 / 1.46 GB, free: 7.117 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5465, allocations: 4 kB / 1.46 GB, free: 7.113 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.922e-05/0.5466, allocations: 0 / 1.46 GB, free: 7.113 MB / 1.154 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.003707/0.5503, allocations: 1.726 MB / 1.462 GB, free: 5.348 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5503, allocations: 8.031 kB / 1.462 GB, free: 5.34 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.803e-05/0.5504, allocations: 26 kB / 1.462 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.5506, allocations: 152.1 kB / 1.462 GB, free: 5.156 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.5529, allocations: 322.8 kB / 1.462 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.555, allocations: 1.033 MB / 1.463 GB, free: 3.777 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.5551, allocations: 74 kB / 1.463 GB, free: 3.707 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.5553, allocations: 95.98 kB / 1.463 GB, free: 3.613 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.5575, allocations: 1.106 MB / 1.464 GB, free: 2.465 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5575, allocations: 3.938 kB / 1.464 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.5576, allocations: 44 kB / 1.464 GB, free: 2.418 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.5577, allocations: 23.98 kB / 1.464 GB, free: 2.395 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.5602, allocations: 1.319 MB / 1.466 GB, free: 1.074 MB / 1.154 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.006592/0.5668, allocations: 3.42 MB / 1.469 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.5689, allocations: 0.9648 MB / 1.47 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008433/0.5698, allocations: 394.4 kB / 1.47 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.57, allocations: 60.92 kB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.5713, allocations: 0.6254 MB / 1.471 GB, free: 11.44 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 2.905e-06/0.5713, allocations: 4 kB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.004697/0.576, allocations: 1.485 MB / 1.472 GB, free: 9.934 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.5761, allocations: 192.9 kB / 1.473 GB, free: 9.703 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.5776, allocations: 1.056 MB / 1.474 GB, free: 8.641 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.5778, allocations: 45.7 kB / 1.474 GB, free: 8.59 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.5782, allocations: 477.2 kB / 1.474 GB, free: 8.117 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.5786, allocations: 325.2 kB / 1.474 GB, free: 7.797 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.5789, allocations: 174.6 kB / 1.475 GB, free: 7.621 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.579, allocations: 334 kB / 1.475 GB, free: 7.289 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/0.5798, allocations: 333.8 kB / 1.475 GB, free: 6.961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.5807, allocations: 481.1 kB / 1.476 GB, free: 6.457 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5823, allocations: 0.7648 MB / 1.477 GB, free: 5.684 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5823, allocations: 0 / 1.477 GB, free: 5.684 MB / 1.17 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002809/0.5851, allocations: 1.053 MB / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5851, allocations: 4 kB / 1.478 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5851, allocations: 4 kB / 1.478 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.5859, allocations: 113.6 kB / 1.478 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.5869, allocations: 199.7 kB / 1.478 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.5903, allocations: 2.866 MB / 1.481 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.5913, allocations: 111.4 kB / 1.481 GB, free: 1.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.5915, allocations: 39.97 kB / 1.481 GB, free: 1.051 MB / 1.17 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.0006364/0.5921, allocations: 301.7 kB / 1.481 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/0.5925, allocations: 115.3 kB / 1.481 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/0.5959, allocations: 1.315 MB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5959, allocations: 15.94 kB / 1.482 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5959, allocations: 0 / 1.482 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.5959, allocations: 7.969 kB / 1.482 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.6015, allocations: 2.442 MB / 1.485 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/0.6015, allocations: 0 / 1.485 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.6025, allocations: 191.8 kB / 1.485 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006333/0.6031, allocations: 105.6 kB / 1.485 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.6032, allocations: 27.98 kB / 1.485 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/0.6065, allocations: 2.889 MB / 1.488 GB, free: 9.324 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6065, allocations: 0 / 1.488 GB, free: 9.324 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.6097, allocations: 1.237 MB / 1.489 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/0.6104, allocations: 246.9 kB / 1.489 GB, free: 7.824 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.6107, allocations: 31.98 kB / 1.489 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6117, allocations: 75.92 kB / 1.49 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.6119, allocations: 88.77 kB / 1.49 GB, free: 7.629 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.6121, allocations: 43.97 kB / 1.49 GB, free: 7.586 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001151/0.6132, allocations: 0.7684 MB / 1.49 GB, free: 6.824 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6132, allocations: 0 / 1.49 GB, free: 6.824 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001424/0.6146, allocations: 458.9 kB / 1.491 GB, free: 6.375 MB / 1.186 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.005689/0.6203, allocations: 2.402 MB / 1.493 GB, free: 4.129 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.623, allocations: 1.076 MB / 1.494 GB, free: 3.023 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.623, allocations: 4 kB / 1.494 GB, free: 3.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.6247, allocations: 0.7021 MB / 1.495 GB, free: 2.297 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.6266, allocations: 365.6 kB / 1.495 GB, free: 1.961 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.6433, allocations: 8.438 MB / 1.504 GB, free: 9.367 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.6443, allocations: 1.107 MB / 1.505 GB, free: 8.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001202/0.6455, allocations: 324 kB / 1.505 GB, free: 7.91 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.6463, allocations: 479.2 kB / 1.505 GB, free: 7.441 MB / 1.201 GB Notification: Performance of SimCode: time 6.21e-07/0.6463, allocations: 0 / 1.505 GB, free: 7.441 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07999/0.7263, allocations: 29.37 MB / 1.534 GB, free: 10.39 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.27, allocations: 14.22 kB / 1.534 GB, free: 10.38 MB / 1.232 GB " [Timeout remaining time 282] (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: 24.58192256296752]