Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001173/0.001173, allocations: 113.5 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.001325/0.001325, allocations: 219.4 kB / 23.04 MB, free: 5.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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.00181/0.00181, allocations: 67.5 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2914, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1793/0.4706, allocations: 158 MB / 1.5 GB, free: 1.832 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.485, allocations: 10.85 MB / 1.51 GB, free: 6.953 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008681/0.4859, allocations: 23.81 kB / 1.51 GB, free: 6.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.4867, allocations: 301.6 kB / 1.511 GB, free: 6.633 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.4896, allocations: 1.003 MB / 1.511 GB, free: 5.629 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.4921, allocations: 1.131 MB / 1.513 GB, free: 4.508 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.4943, allocations: 1.756 MB / 1.514 GB, free: 2.746 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.4956, allocations: 0.9398 MB / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.4975, allocations: 0.7699 MB / 1.516 GB, free: 1.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008515/0.4984, allocations: 0.6358 MB / 1.517 GB, free: 392 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.4985, allocations: 136 kB / 1.517 GB, free: 256 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.5007, allocations: 1.116 MB / 1.518 GB, free: 15.13 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.501, allocations: 390.8 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.5017, allocations: 0.6879 MB / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.5046, allocations: 2.288 MB / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5046, allocations: 4 kB / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5046, allocations: 0 / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.5046, allocations: 0 / 1.521 GB, free: 11.76 MB / 1.217 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.003126/0.5078, allocations: 1.738 MB / 1.523 GB, free: 9.98 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5078, allocations: 8.031 kB / 1.523 GB, free: 9.973 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.829e-05/0.5078, allocations: 26 kB / 1.523 GB, free: 9.949 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.508, allocations: 156 kB / 1.523 GB, free: 9.789 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.5101, allocations: 322.8 kB / 1.523 GB, free: 9.473 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.5117, allocations: 1.026 MB / 1.524 GB, free: 8.418 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.5118, allocations: 74 kB / 1.524 GB, free: 8.344 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.512, allocations: 92 kB / 1.524 GB, free: 8.254 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.514, allocations: 1.113 MB / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.514, allocations: 0 / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.5141, allocations: 40 kB / 1.526 GB, free: 7.062 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.5141, allocations: 24 kB / 1.526 GB, free: 7.039 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.5164, allocations: 1.323 MB / 1.527 GB, free: 5.715 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.5221, allocations: 3.476 MB / 1.53 GB, free: 2.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.524, allocations: 0.9726 MB / 1.531 GB, free: 1.098 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.5247, allocations: 390.8 kB / 1.532 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.525, allocations: 68.92 kB / 1.532 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.5261, allocations: 0.6099 MB / 1.532 GB, free: 16 kB / 1.217 GB Notification: Performance of pre-optimization done (n=95): time 2.324e-06/0.5261, allocations: 0 / 1.532 GB, free: 16 kB / 1.217 GB Notification: Performance of matching and sorting (n=95): time 0.004157/0.5302, allocations: 1.485 MB / 1.534 GB, free: 14.52 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5304, allocations: 208.8 kB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.5317, allocations: 1.048 MB / 1.535 GB, free: 13.21 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.5318, allocations: 45.7 kB / 1.535 GB, free: 13.16 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.5322, allocations: 485.2 kB / 1.535 GB, free: 12.68 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.5325, allocations: 325.2 kB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.5328, allocations: 166.6 kB / 1.536 GB, free: 12.19 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.533, allocations: 341.9 kB / 1.536 GB, free: 11.85 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.5337, allocations: 333.8 kB / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.5345, allocations: 473 kB / 1.537 GB, free: 11.03 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.536, allocations: 0.7726 MB / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.536, allocations: 0 / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002503/0.5385, allocations: 1.037 MB / 1.539 GB, free: 9.199 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5385, allocations: 8 kB / 1.539 GB, free: 9.191 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5385, allocations: 0 / 1.539 GB, free: 9.191 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/0.5392, allocations: 117.7 kB / 1.539 GB, free: 9.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008547/0.5401, allocations: 199.7 kB / 1.539 GB, free: 8.875 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.5432, allocations: 2.866 MB / 1.542 GB, free: 5.777 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.544, allocations: 115.4 kB / 1.542 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.5441, allocations: 31.98 kB / 1.542 GB, free: 5.633 MB / 1.232 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.0005312/0.5446, allocations: 313.5 kB / 1.542 GB, free: 5.316 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.5449, allocations: 111.3 kB / 1.542 GB, free: 5.207 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.5478, allocations: 1.314 MB / 1.544 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5478, allocations: 19.98 kB / 1.544 GB, free: 3.848 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5478, allocations: 4 kB / 1.544 GB, free: 3.844 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5478, allocations: 3.984 kB / 1.544 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.552, allocations: 2.434 MB / 1.546 GB, free: 1.352 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.552, allocations: 0 / 1.546 GB, free: 1.352 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.5528, allocations: 191.7 kB / 1.546 GB, free: 1.164 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.5534, allocations: 109.6 kB / 1.546 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.5534, allocations: 27.97 kB / 1.546 GB, free: 1.023 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.5564, allocations: 2.878 MB / 1.549 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5564, allocations: 3.984 kB / 1.549 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.5591, allocations: 1.245 MB / 1.55 GB, free: 12.64 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.5596, allocations: 250.9 kB / 1.551 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5598, allocations: 23.94 kB / 1.551 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/0.5606, allocations: 83.91 kB / 1.551 GB, free: 12.29 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5608, allocations: 88.78 kB / 1.551 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/0.5609, allocations: 43.97 kB / 1.551 GB, free: 12.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009805/0.5619, allocations: 0.7684 MB / 1.552 GB, free: 11.39 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5619, allocations: 0 / 1.552 GB, free: 11.39 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001163/0.563, allocations: 458.8 kB / 1.552 GB, free: 10.94 MB / 1.248 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.005024/0.568, allocations: 2.393 MB / 1.554 GB, free: 8.707 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.5704, allocations: 1.084 MB / 1.556 GB, free: 7.594 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5704, allocations: 0 / 1.556 GB, free: 7.594 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.5716, allocations: 0.7098 MB / 1.556 GB, free: 6.859 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.5732, allocations: 342.6 kB / 1.557 GB, free: 6.543 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.5875, allocations: 8.466 MB / 1.565 GB, free: 13.93 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.5884, allocations: 1.107 MB / 1.566 GB, free: 12.79 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009768/0.5893, allocations: 320 kB / 1.566 GB, free: 12.47 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/0.59, allocations: 475.2 kB / 1.567 GB, free: 12.01 MB / 1.264 GB Notification: Performance of SimCode: time 7.61e-07/0.59, allocations: 0 / 1.567 GB, free: 12.01 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.6539, allocations: 29.37 MB / 1.595 GB, free: 14.88 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.65, allocations: 8.578 kB / 1.595 GB, free: 14.88 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.904164981970098]