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.001272/0.001272, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.001415/0.001415, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.987/2.987, allocations: 0.49 GB / 0.7916 GB, free: 33.59 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.001972/0.001972, allocations: 68.25 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2894, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1773/0.4667, allocations: 157.9 MB / 1.475 GB, free: 4.848 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.4817, allocations: 10.69 MB / 1.485 GB, free: 10.13 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.4826, allocations: 35.75 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.4836, allocations: 293.6 kB / 1.486 GB, free: 9.805 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.4867, allocations: 0.9909 MB / 1.487 GB, free: 8.812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.4896, allocations: 1.101 MB / 1.488 GB, free: 7.719 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.4919, allocations: 1.748 MB / 1.489 GB, free: 5.965 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.4935, allocations: 0.9469 MB / 1.49 GB, free: 4.992 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.4958, allocations: 0.7616 MB / 1.491 GB, free: 4.238 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009985/0.4968, allocations: 0.634 MB / 1.492 GB, free: 3.602 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003021/0.4971, allocations: 140 kB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.4993, allocations: 1.084 MB / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.4997, allocations: 390.7 kB / 1.493 GB, free: 1.996 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.5007, allocations: 0.684 MB / 1.494 GB, free: 1.309 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5043, allocations: 2.292 MB / 1.496 GB, free: 15.01 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5043, allocations: 0 / 1.496 GB, free: 15.01 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5043, allocations: 7.938 kB / 1.496 GB, free: 15 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.905e-05/0.5044, allocations: 0 / 1.496 GB, free: 15 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.004134/0.5085, allocations: 1.801 MB / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5085, allocations: 11.98 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.5088, allocations: 152.1 kB / 1.498 GB, free: 12.97 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.5112, allocations: 326.8 kB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5131, allocations: 1.102 MB / 1.5 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.5132, allocations: 74 kB / 1.5 GB, free: 11.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.5133, allocations: 95.94 kB / 1.5 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.5156, allocations: 1.114 MB / 1.501 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5157, allocations: 0 / 1.501 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.5158, allocations: 44 kB / 1.501 GB, free: 10.14 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.5158, allocations: 27.94 kB / 1.501 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.5183, allocations: 1.319 MB / 1.502 GB, free: 8.789 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.5247, allocations: 3.529 MB / 1.506 GB, free: 5.09 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.5269, allocations: 1.055 MB / 1.507 GB, free: 4.016 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.5277, allocations: 385.7 kB / 1.507 GB, free: 3.641 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.528, allocations: 138 kB / 1.507 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.5292, allocations: 0.6255 MB / 1.508 GB, free: 2.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.816e-06/0.5292, allocations: 0 / 1.508 GB, free: 2.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.004459/0.5336, allocations: 1.64 MB / 1.509 GB, free: 1.152 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5338, allocations: 192.9 kB / 1.51 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5352, allocations: 1.048 MB / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.5353, allocations: 49.7 kB / 1.511 GB, free: 15.81 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.5358, allocations: 481.2 kB / 1.511 GB, free: 15.33 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.5361, allocations: 329.1 kB / 1.511 GB, free: 15.01 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.5364, allocations: 174.6 kB / 1.512 GB, free: 14.84 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5365, allocations: 334 kB / 1.512 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/0.5373, allocations: 329.8 kB / 1.512 GB, free: 14.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.5382, allocations: 473.1 kB / 1.513 GB, free: 13.68 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.5397, allocations: 0.7648 MB / 1.513 GB, free: 12.91 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5397, allocations: 4 kB / 1.513 GB, free: 12.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002686/0.5424, allocations: 1.041 MB / 1.514 GB, free: 11.85 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5424, allocations: 4 kB / 1.514 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5425, allocations: 8.016 kB / 1.514 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.5432, allocations: 117.6 kB / 1.515 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.5441, allocations: 199.8 kB / 1.515 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.5475, allocations: 3.078 MB / 1.518 GB, free: 8.156 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.5485, allocations: 103.5 kB / 1.518 GB, free: 8.055 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.5486, allocations: 35.97 kB / 1.518 GB, free: 8.02 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.0005806/0.5491, allocations: 317.5 kB / 1.518 GB, free: 7.699 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.5494, allocations: 111.3 kB / 1.518 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.5526, allocations: 1.315 MB / 1.52 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5526, allocations: 16 kB / 1.52 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5526, allocations: 0 / 1.52 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5527, allocations: 3.984 kB / 1.52 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.5574, allocations: 2.455 MB / 1.522 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5575, allocations: 0 / 1.522 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/0.5583, allocations: 199.7 kB / 1.522 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/0.5589, allocations: 105.6 kB / 1.522 GB, free: 3.418 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.491e-05/0.559, allocations: 35.91 kB / 1.522 GB, free: 3.383 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/0.5622, allocations: 3.08 MB / 1.525 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5622, allocations: 0 / 1.525 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.565, allocations: 1.245 MB / 1.527 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.5656, allocations: 332 kB / 1.527 GB, free: 14.4 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.5658, allocations: 27.98 kB / 1.527 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.5666, allocations: 77.48 kB / 1.527 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5668, allocations: 88.75 kB / 1.527 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5669, allocations: 43.97 kB / 1.527 GB, free: 14.17 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001003/0.5679, allocations: 0.7684 MB / 1.528 GB, free: 13.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5679, allocations: 0 / 1.528 GB, free: 13.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001275/0.5692, allocations: 454.9 kB / 1.528 GB, free: 12.96 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.005241/0.5745, allocations: 2.395 MB / 1.531 GB, free: 10.71 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.577, allocations: 1.076 MB / 1.532 GB, free: 9.613 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.577, allocations: 4 kB / 1.532 GB, free: 9.609 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.5784, allocations: 0.702 MB / 1.532 GB, free: 8.887 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.5801, allocations: 367.4 kB / 1.533 GB, free: 8.555 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.5954, allocations: 8.444 MB / 1.541 GB, free: 15.96 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.5962, allocations: 1.114 MB / 1.542 GB, free: 14.81 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001138/0.5974, allocations: 316 kB / 1.542 GB, free: 14.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/0.5982, allocations: 475.2 kB / 1.543 GB, free: 14.04 MB / 1.248 GB Notification: Performance of SimCode: time 1.122e-06/0.5982, allocations: 0 / 1.543 GB, free: 14.04 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/0.6732, allocations: 28.68 MB / 1.571 GB, free: 1.648 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.33, allocations: 3.984 kB / 1.571 GB, free: 1.645 MB / 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: 20.7574559468776]