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.001441/0.001441, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001662/0.001662, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 8 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.914/2.914, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.001863/0.001863, allocations: 69.3 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3023, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1708/0.4731, allocations: 158 MB / 1.507 GB, free: 9.875 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.4887, allocations: 10.84 MB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009842/0.4896, allocations: 23.81 kB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.4907, allocations: 297.6 kB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.4938, allocations: 1.016 MB / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.4965, allocations: 1.134 MB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.4988, allocations: 1.752 MB / 1.522 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.5003, allocations: 0.9437 MB / 1.523 GB, free: 9.812 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.5021, allocations: 0.764 MB / 1.524 GB, free: 9.059 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.5028, allocations: 0.634 MB / 1.524 GB, free: 8.422 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.503, allocations: 136 kB / 1.524 GB, free: 8.289 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.5049, allocations: 1.123 MB / 1.525 GB, free: 7.164 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.5053, allocations: 386.8 kB / 1.526 GB, free: 6.785 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.5059, allocations: 0.6918 MB / 1.526 GB, free: 6.09 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.5086, allocations: 2.281 MB / 1.529 GB, free: 3.801 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5086, allocations: 0 / 1.529 GB, free: 3.801 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5086, allocations: 3.984 kB / 1.529 GB, free: 3.797 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.5086, allocations: 4 kB / 1.529 GB, free: 3.793 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.002889/0.5115, allocations: 1.742 MB / 1.53 GB, free: 2.012 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5115, allocations: 12.02 kB / 1.53 GB, free: 2 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.5117, allocations: 152 kB / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.5137, allocations: 318.8 kB / 1.531 GB, free: 1.531 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5152, allocations: 1.037 MB / 1.532 GB, free: 476 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.5153, allocations: 70 kB / 1.532 GB, free: 404 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5154, allocations: 96 kB / 1.532 GB, free: 308 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.5172, allocations: 1.11 MB / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5172, allocations: 0 / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.5173, allocations: 44 kB / 1.533 GB, free: 15.11 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.5173, allocations: 20 kB / 1.533 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5195, allocations: 1.319 MB / 1.534 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.5245, allocations: 3.47 MB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.5263, allocations: 0.9806 MB / 1.539 GB, free: 9.141 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.527, allocations: 389.3 kB / 1.539 GB, free: 8.762 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.5272, allocations: 68.86 kB / 1.539 GB, free: 8.691 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.5283, allocations: 0.6138 MB / 1.54 GB, free: 8.059 MB / 1.232 GB Notification: Performance of pre-optimization done (n=95): time 2.054e-06/0.5283, allocations: 4 kB / 1.54 GB, free: 8.055 MB / 1.232 GB Notification: Performance of matching and sorting (n=95): time 0.003876/0.5322, allocations: 1.485 MB / 1.541 GB, free: 6.559 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5323, allocations: 204.8 kB / 1.541 GB, free: 6.316 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.5335, allocations: 1.044 MB / 1.542 GB, free: 5.266 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.5336, allocations: 45.7 kB / 1.543 GB, free: 5.215 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.534, allocations: 485.2 kB / 1.543 GB, free: 4.734 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.5342, allocations: 321.2 kB / 1.543 GB, free: 4.418 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.5345, allocations: 166.6 kB / 1.543 GB, free: 4.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5346, allocations: 345.9 kB / 1.544 GB, free: 3.906 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.5353, allocations: 329.8 kB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.5361, allocations: 473.1 kB / 1.545 GB, free: 3.086 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.5375, allocations: 0.7609 MB / 1.545 GB, free: 2.316 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5375, allocations: 0 / 1.545 GB, free: 2.316 MB / 1.232 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002343/0.5399, allocations: 1.061 MB / 1.546 GB, free: 1.238 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5399, allocations: 4 kB / 1.546 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5399, allocations: 0 / 1.546 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.5406, allocations: 113.7 kB / 1.546 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.5414, allocations: 199.7 kB / 1.547 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.5445, allocations: 2.869 MB / 1.549 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.5454, allocations: 109.8 kB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.5454, allocations: 35.97 kB / 1.55 GB, free: 13.68 MB / 1.248 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.0005105/0.5459, allocations: 313.6 kB / 1.55 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.5461, allocations: 111.3 kB / 1.55 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.549, allocations: 1.322 MB / 1.551 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.549, allocations: 12 kB / 1.551 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.549, allocations: 0 / 1.551 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.549, allocations: 3.984 kB / 1.551 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.553, allocations: 2.426 MB / 1.554 GB, free: 9.418 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.553, allocations: 0 / 1.554 GB, free: 9.418 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/0.5538, allocations: 199.7 kB / 1.554 GB, free: 9.223 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/0.5543, allocations: 109.5 kB / 1.554 GB, free: 9.109 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.5544, allocations: 27.97 kB / 1.554 GB, free: 9.082 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/0.5573, allocations: 2.878 MB / 1.557 GB, free: 5.965 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5573, allocations: 0 / 1.557 GB, free: 5.965 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.5598, allocations: 1.241 MB / 1.558 GB, free: 4.703 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.5603, allocations: 254.8 kB / 1.558 GB, free: 4.453 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.5605, allocations: 28 kB / 1.558 GB, free: 4.426 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.5612, allocations: 71.97 kB / 1.558 GB, free: 4.355 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5614, allocations: 92.78 kB / 1.558 GB, free: 4.262 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.5615, allocations: 43.97 kB / 1.558 GB, free: 4.219 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009381/0.5624, allocations: 0.7723 MB / 1.559 GB, free: 3.449 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5624, allocations: 3.938 kB / 1.559 GB, free: 3.445 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001095/0.5635, allocations: 462.8 kB / 1.56 GB, free: 2.992 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.0047/0.5682, allocations: 2.38 MB / 1.562 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.5703, allocations: 1.076 MB / 1.563 GB, free: 15.66 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5703, allocations: 4 kB / 1.563 GB, free: 15.66 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5715, allocations: 0.7021 MB / 1.564 GB, free: 14.93 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.5728, allocations: 364.8 kB / 1.564 GB, free: 14.61 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.5862, allocations: 8.455 MB / 1.572 GB, free: 5.996 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.587, allocations: 1.111 MB / 1.573 GB, free: 4.855 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009866/0.5879, allocations: 324 kB / 1.574 GB, free: 4.535 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.5886, allocations: 467.2 kB / 1.574 GB, free: 4.078 MB / 1.264 GB Notification: Performance of SimCode: time 7.31e-07/0.5886, allocations: 0 / 1.574 GB, free: 4.078 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.6626, allocations: 29.35 MB / 1.603 GB, free: 6.965 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.39, allocations: 0 / 1.603 GB, free: 6.965 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: 21.068085603881627]