Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001464/0.001464, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001654/0.001654, allocations: 217.4 kB / 23.04 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.909/2.909, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_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.001809/0.001809, allocations: 59.69 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2723, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1684/0.4407, allocations: 158 MB / 1.481 GB, free: 3.344 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.455, allocations: 10.85 MB / 1.492 GB, free: 8.465 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007649/0.4557, allocations: 31.75 kB / 1.492 GB, free: 8.434 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.4565, allocations: 289.6 kB / 1.492 GB, free: 8.148 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.4591, allocations: 1 MB / 1.493 GB, free: 7.148 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.4616, allocations: 1.153 MB / 1.494 GB, free: 6.004 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.4637, allocations: 1.741 MB / 1.496 GB, free: 4.258 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.4652, allocations: 0.9476 MB / 1.497 GB, free: 3.277 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.4672, allocations: 0.7634 MB / 1.497 GB, free: 2.523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000942/0.4681, allocations: 0.6341 MB / 1.498 GB, free: 1.887 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.4684, allocations: 140 kB / 1.498 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4706, allocations: 1.108 MB / 1.499 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.471, allocations: 394.7 kB / 1.5 GB, free: 260 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.4718, allocations: 0.6879 MB / 1.5 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.4749, allocations: 2.292 MB / 1.502 GB, free: 13.26 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.475, allocations: 4 kB / 1.502 GB, free: 13.26 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.152e-06/0.475, allocations: 3.938 kB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.007e-05/0.475, allocations: 0 / 1.502 GB, free: 13.25 MB / 1.201 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.003484/0.4785, allocations: 1.726 MB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4785, allocations: 12.03 kB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.463e-05/0.4786, allocations: 26 kB / 1.504 GB, free: 11.45 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.4788, allocations: 152.1 kB / 1.504 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.4808, allocations: 314.8 kB / 1.505 GB, free: 10.99 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.4825, allocations: 1.037 MB / 1.506 GB, free: 9.922 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.4825, allocations: 78 kB / 1.506 GB, free: 9.848 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4827, allocations: 96 kB / 1.506 GB, free: 9.754 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.4846, allocations: 1.102 MB / 1.507 GB, free: 8.609 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4846, allocations: 0 / 1.507 GB, free: 8.609 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4847, allocations: 47.94 kB / 1.507 GB, free: 8.562 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.4847, allocations: 24 kB / 1.507 GB, free: 8.539 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.487, allocations: 1.319 MB / 1.508 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.4923, allocations: 3.478 MB / 1.512 GB, free: 3.574 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.4942, allocations: 0.9775 MB / 1.513 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.495, allocations: 387.9 kB / 1.513 GB, free: 2.207 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.4952, allocations: 72.92 kB / 1.513 GB, free: 2.137 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.4963, allocations: 0.6174 MB / 1.514 GB, free: 1.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.144e-06/0.4963, allocations: 0 / 1.514 GB, free: 1.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.00407/0.5004, allocations: 1.485 MB / 1.515 GB, free: 8 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5005, allocations: 205.1 kB / 1.515 GB, free: 15.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.5018, allocations: 1.048 MB / 1.516 GB, free: 14.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.5019, allocations: 45.7 kB / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.5023, allocations: 485.2 kB / 1.517 GB, free: 14.17 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.5026, allocations: 329.2 kB / 1.517 GB, free: 13.85 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.5029, allocations: 162.6 kB / 1.517 GB, free: 13.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.503, allocations: 341.9 kB / 1.518 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.5037, allocations: 333.8 kB / 1.518 GB, free: 13.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.5045, allocations: 477 kB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.506, allocations: 0.7648 MB / 1.519 GB, free: 11.74 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.506, allocations: 0 / 1.519 GB, free: 11.74 MB / 1.217 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002444/0.5085, allocations: 1.045 MB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5085, allocations: 4.062 kB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5085, allocations: 4 kB / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.5092, allocations: 117.6 kB / 1.52 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.5101, allocations: 195.7 kB / 1.52 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.5132, allocations: 2.87 MB / 1.523 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.514, allocations: 120.8 kB / 1.523 GB, free: 7.141 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.5141, allocations: 31.98 kB / 1.523 GB, free: 7.109 MB / 1.217 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.0004904/0.5146, allocations: 309.6 kB / 1.524 GB, free: 6.797 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.5148, allocations: 111.3 kB / 1.524 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.5178, allocations: 1.322 MB / 1.525 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.5178, allocations: 12 kB / 1.525 GB, free: 5.336 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5178, allocations: 0 / 1.525 GB, free: 5.336 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5178, allocations: 3.984 kB / 1.525 GB, free: 5.332 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.5221, allocations: 2.427 MB / 1.527 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5221, allocations: 4 kB / 1.527 GB, free: 2.844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008188/0.523, allocations: 183.8 kB / 1.528 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/0.5235, allocations: 117.5 kB / 1.528 GB, free: 2.543 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.5236, allocations: 23.98 kB / 1.528 GB, free: 2.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.5266, allocations: 2.898 MB / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5266, allocations: 0 / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.5294, allocations: 1.241 MB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.53, allocations: 246.9 kB / 1.532 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.5302, allocations: 20 kB / 1.532 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.531, allocations: 81.78 kB / 1.532 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.5312, allocations: 88.78 kB / 1.532 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5313, allocations: 43.97 kB / 1.532 GB, free: 13.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000999/0.5323, allocations: 0.7684 MB / 1.533 GB, free: 12.89 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5323, allocations: 4 kB / 1.533 GB, free: 12.89 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001231/0.5336, allocations: 454.9 kB / 1.533 GB, free: 12.44 MB / 1.232 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.004974/0.5385, allocations: 2.396 MB / 1.536 GB, free: 10.19 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.5407, allocations: 1.072 MB / 1.537 GB, free: 9.094 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5407, allocations: 0 / 1.537 GB, free: 9.094 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.542, allocations: 0.7175 MB / 1.538 GB, free: 8.352 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5435, allocations: 356.3 kB / 1.538 GB, free: 8.023 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.5573, allocations: 8.454 MB / 1.546 GB, free: 15.43 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.558, allocations: 1.111 MB / 1.547 GB, free: 14.29 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009419/0.559, allocations: 308.1 kB / 1.548 GB, free: 13.98 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/0.5597, allocations: 479.2 kB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of SimCode: time 5.91e-07/0.5597, allocations: 0 / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06808/0.6278, allocations: 29.38 MB / 1.577 GB, free: 464 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.74, allocations: 10.34 kB / 1.577 GB, free: 456 kB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.004493723041378]