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.001462/0.001462, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00171/0.00171, allocations: 214.4 kB / 22.25 MB, free: 5.105 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.884/2.884, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",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.001893/0.001893, allocations: 66.66 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2923, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1552/0.4475, allocations: 135.9 MB / 1.459 GB, free: 9.059 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4607, allocations: 9.948 MB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.4614, allocations: 27.75 kB / 1.468 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.4622, allocations: 289.7 kB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.4647, allocations: 1.001 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.4671, allocations: 1.117 MB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4688, allocations: 1.744 MB / 1.472 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.4699, allocations: 0.9514 MB / 1.473 GB, free: 9.922 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4716, allocations: 0.7566 MB / 1.474 GB, free: 9.176 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.4723, allocations: 0.6341 MB / 1.475 GB, free: 8.539 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.4725, allocations: 136 kB / 1.475 GB, free: 8.406 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.4743, allocations: 1.057 MB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.4746, allocations: 386.8 kB / 1.476 GB, free: 6.969 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.4752, allocations: 0.5559 MB / 1.477 GB, free: 6.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.4778, allocations: 2.296 MB / 1.479 GB, free: 4.105 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4778, allocations: 0 / 1.479 GB, free: 4.105 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4778, allocations: 0 / 1.479 GB, free: 4.105 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.4779, allocations: 0 / 1.479 GB, free: 4.105 MB / 1.17 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.003033/0.4809, allocations: 1.738 MB / 1.481 GB, free: 2.332 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4809, allocations: 8.031 kB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.4811, allocations: 148.1 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.4832, allocations: 322.8 kB / 1.481 GB, free: 1.855 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.4848, allocations: 1.037 MB / 1.482 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.4849, allocations: 74 kB / 1.482 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.485, allocations: 100 kB / 1.482 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.4871, allocations: 1.482 MB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4871, allocations: 3.938 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/0.4872, allocations: 40 kB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4872, allocations: 20 kB / 1.484 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.4894, allocations: 1.28 MB / 1.485 GB, free: 13.65 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.4942, allocations: 2.763 MB / 1.488 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.4961, allocations: 0.974 MB / 1.489 GB, free: 9.852 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.4968, allocations: 385 kB / 1.489 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.497, allocations: 64.83 kB / 1.489 GB, free: 9.406 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.4982, allocations: 0.8475 MB / 1.49 GB, free: 8.484 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.4982, allocations: 0 / 1.49 GB, free: 8.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004097/0.5023, allocations: 1.489 MB / 1.491 GB, free: 6.984 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5024, allocations: 192.9 kB / 1.492 GB, free: 6.754 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.5037, allocations: 1.056 MB / 1.493 GB, free: 5.691 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.571e-05/0.5038, allocations: 45.64 kB / 1.493 GB, free: 5.641 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.5042, allocations: 489.2 kB / 1.493 GB, free: 5.156 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.5045, allocations: 317.3 kB / 1.493 GB, free: 4.844 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.5048, allocations: 170.6 kB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5049, allocations: 338 kB / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006934/0.5056, allocations: 333.8 kB / 1.494 GB, free: 4.008 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.5065, allocations: 0.6628 MB / 1.495 GB, free: 3.262 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.508, allocations: 0.7648 MB / 1.496 GB, free: 2.484 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.508, allocations: 0 / 1.496 GB, free: 2.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002518/0.5105, allocations: 1.049 MB / 1.497 GB, free: 1.426 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5105, allocations: 8 kB / 1.497 GB, free: 1.418 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5105, allocations: 4.078 kB / 1.497 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/0.5113, allocations: 113.7 kB / 1.497 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/0.5122, allocations: 199.7 kB / 1.497 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.5154, allocations: 2.864 MB / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.5162, allocations: 108.4 kB / 1.5 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.5163, allocations: 35.97 kB / 1.5 GB, free: 13.86 MB / 1.201 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.0004982/0.5168, allocations: 309.6 kB / 1.5 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.517, allocations: 115.3 kB / 1.5 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.52, allocations: 1.314 MB / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.52, allocations: 23.86 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.52, allocations: 0 / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.52, allocations: 7.984 kB / 1.502 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.5242, allocations: 2.271 MB / 1.504 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5242, allocations: 0 / 1.504 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.525, allocations: 191.7 kB / 1.504 GB, free: 9.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.5256, allocations: 113.5 kB / 1.504 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.5257, allocations: 23.98 kB / 1.504 GB, free: 9.418 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.5286, allocations: 2.874 MB / 1.507 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5286, allocations: 0 / 1.507 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.5311, allocations: 1.249 MB / 1.508 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.5316, allocations: 250.9 kB / 1.508 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.5318, allocations: 24 kB / 1.508 GB, free: 4.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.5326, allocations: 81 kB / 1.509 GB, free: 4.688 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.5328, allocations: 88.77 kB / 1.509 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/0.5329, allocations: 43.97 kB / 1.509 GB, free: 4.559 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009085/0.5338, allocations: 0.7684 MB / 1.509 GB, free: 3.793 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5338, allocations: 0 / 1.509 GB, free: 3.793 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001117/0.5349, allocations: 450.9 kB / 1.51 GB, free: 3.352 MB / 1.201 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.004856/0.5397, allocations: 2.431 MB / 1.512 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.5418, allocations: 1.084 MB / 1.513 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5418, allocations: 0 / 1.513 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.543, allocations: 0.7059 MB / 1.514 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.5444, allocations: 355 kB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.5576, allocations: 8.44 MB / 1.523 GB, free: 6.348 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.5581, allocations: 0.5187 MB / 1.523 GB, free: 5.793 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001023/0.5591, allocations: 328 kB / 1.523 GB, free: 5.469 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.5598, allocations: 475.2 kB / 1.524 GB, free: 5.008 MB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.5598, allocations: 0 / 1.524 GB, free: 5.008 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/0.631, allocations: 30.87 MB / 1.554 GB, free: 6.508 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.87, allocations: 5.188 kB / 1.554 GB, free: 6.504 MB / 1.248 GB " [Timeout remaining time 286] (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: 20.076409763016272]