Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.0008719/0.0008719, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008532/0.0008532, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.673e-05, allocations: 8.953 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002625/0.002642, allocations: 2.131 MB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.004843, allocations: 2.534 MB / 0.9856 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.004965, allocations: 0 / 0.9856 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.005868, allocations: 0.4897 MB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.006122, allocations: 171.1 kB / 0.9862 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.006462, allocations: 212.2 kB / 0.9864 GB, free: 12.99 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.006798, allocations: 402 kB / 0.9868 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.006914, allocations: 29.27 kB / 0.9868 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.007077, allocations: 183.5 kB / 0.987 GB, free: 12.38 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.007236, allocations: 119.7 kB / 0.9871 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.007264, allocations: 8 kB / 0.9871 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.00742, allocations: 75.81 kB / 0.9872 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.007561, allocations: 135.5 kB / 0.9873 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.007667, allocations: 111.5 kB / 0.9874 GB, free: 11.94 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.00831, allocations: 0.6929 MB / 0.9881 GB, free: 11.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008313, allocations: 4 kB / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.008314, allocations: 0 / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.008322, allocations: 0 / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001163/0.009485, allocations: 0.8584 MB / 0.9889 GB, free: 10.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.009522, allocations: 12.03 kB / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.00955, allocations: 34.75 kB / 0.989 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.009614, allocations: 72.47 kB / 0.989 GB, free: 10.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.009975, allocations: 410.1 kB / 0.9894 GB, free: 9.789 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.009989, allocations: 8.312 kB / 0.9894 GB, free: 9.781 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.01, allocations: 8.375 kB / 0.9895 GB, free: 9.773 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.01017, allocations: 147.1 kB / 0.9896 GB, free: 9.605 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.01018, allocations: 0 / 0.9896 GB, free: 9.605 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.01019, allocations: 4 kB / 0.9896 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.01019, allocations: 0 / 0.9896 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.01027, allocations: 51.89 kB / 0.9896 GB, free: 9.551 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.01077, allocations: 479.7 kB / 0.9901 GB, free: 9.039 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.01103, allocations: 110.7 kB / 0.9902 GB, free: 8.922 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.01108, allocations: 32.84 kB / 0.9902 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.01109, allocations: 3.938 kB / 0.9902 GB, free: 8.883 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01123, allocations: 113.1 kB / 0.9904 GB, free: 8.754 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.01123, allocations: 0 / 0.9904 GB, free: 8.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002791/0.01151, allocations: 213 kB / 0.9906 GB, free: 8.539 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.01154, allocations: 77.11 kB / 0.9906 GB, free: 8.445 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.01222, allocations: 0.9306 MB / 0.9915 GB, free: 7.508 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.01224, allocations: 29.7 kB / 0.9916 GB, free: 7.473 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.01243, allocations: 320.1 kB / 0.9919 GB, free: 7.156 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.01246, allocations: 27.78 kB / 0.9919 GB, free: 7.129 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.01249, allocations: 21.72 kB / 0.9919 GB, free: 7.102 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.01256, allocations: 313.9 kB / 0.9922 GB, free: 6.789 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.01261, allocations: 31.97 kB / 0.9922 GB, free: 6.758 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.01268, allocations: 118.8 kB / 0.9924 GB, free: 6.617 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.01278, allocations: 73.94 kB / 0.9924 GB, free: 6.539 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01278, allocations: 0 / 0.9924 GB, free: 6.539 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001577/0.01294, allocations: 177.2 kB / 0.9926 GB, free: 6.359 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.01295, allocations: 12 kB / 0.9926 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01295, allocations: 0 / 0.9926 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.01296, allocations: 4 kB / 0.9926 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.01301, allocations: 8.188 kB / 0.9926 GB, free: 6.336 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.01302, allocations: 4 kB / 0.9926 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.01309, allocations: 15.92 kB / 0.9926 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01309, allocations: 0 / 0.9926 GB, free: 6.316 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.0133, allocations: 323.8 kB / 0.993 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.01334, allocations: 71.53 kB / 0.993 GB, free: 5.922 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.01356, allocations: 200 kB / 0.9932 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01356, allocations: 0 / 0.9932 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01357, allocations: 0 / 0.9932 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01357, allocations: 8 kB / 0.9932 GB, free: 5.711 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.01382, allocations: 356.5 kB / 0.9936 GB, free: 5.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01382, allocations: 0 / 0.9936 GB, free: 5.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.01385, allocations: 7.984 kB / 0.9936 GB, free: 5.312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01385, allocations: 7.938 kB / 0.9936 GB, free: 5.305 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01386, allocations: 4 kB / 0.9936 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01386, allocations: 0 / 0.9936 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01386, allocations: 0 / 0.9936 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01403, allocations: 220.5 kB / 0.9938 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.01409, allocations: 67.45 kB / 0.9939 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.01412, allocations: 4 kB / 0.9939 GB, free: 4.996 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.01418, allocations: 4 kB / 0.9939 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01422, allocations: 11.98 kB / 0.9939 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01424, allocations: 7.984 kB / 0.9939 GB, free: 4.973 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005433/0.01478, allocations: 0.6824 MB / 0.9945 GB, free: 4.293 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01478, allocations: 0 / 0.9945 GB, free: 4.293 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001965/0.01497, allocations: 60 kB / 0.9946 GB, free: 4.234 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/0.01618, allocations: 1.095 MB / 0.9957 GB, free: 3.293 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01633, allocations: 71.89 kB / 0.9957 GB, free: 3.223 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01633, allocations: 0 / 0.9957 GB, free: 3.223 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.01638, allocations: 39.92 kB / 0.9958 GB, free: 3.184 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.01679, allocations: 178.2 kB / 0.9959 GB, free: 3.016 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.02042, allocations: 4.885 MB / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.02068, allocations: 399.7 kB / 1.001 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.355e-05/0.02078, allocations: 38.98 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.02094, allocations: 196.4 kB / 1.001 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of SimCode: time 5.82e-07/0.02094, allocations: 0 / 1.001 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.04468, allocations: 14.67 MB / 1.016 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/6.879, allocations: 14.5 kB / 1.016 GB, free: 14.94 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 10.953452102839947]