Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001206/0.001206, 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.001356/0.001356, 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.875/0.875, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.716/1.716, allocations: 377.8 MB / 0.6221 GB, free: 8.691 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.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.829e-05, allocations: 5.375 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001156/0.001175, allocations: 0.6561 MB / 0.9817 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.001294, allocations: 19.91 kB / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.001328, allocations: 0 / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 7.603e-05/0.001404, allocations: 3.938 kB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.001439, allocations: 0 / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.488e-05/0.001494, allocations: 4 kB / 0.9817 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.001565, allocations: 27.86 kB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.00166, allocations: 19.98 kB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.00169, allocations: 23.97 kB / 0.9818 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.001724, allocations: 15.98 kB / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.001743, allocations: 0 / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.001752, allocations: 4 kB / 0.9818 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.00178, allocations: 7.938 kB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.001805, allocations: 15.92 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.148e-05/0.001886, allocations: 47.81 kB / 0.9819 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.001888, allocations: 0 / 0.9819 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.00189, allocations: 3.984 kB / 0.9819 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.001894, allocations: 3.938 kB / 0.9819 GB, free: 1.688 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002739/0.002168, allocations: 274.2 kB / 0.9821 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.002205, allocations: 8.031 kB / 0.9821 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.002235, allocations: 38.75 kB / 0.9822 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.002256, allocations: 8.875 kB / 0.9822 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.002381, allocations: 129.7 kB / 0.9823 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.00239, allocations: 4.375 kB / 0.9823 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-06/0.002399, allocations: 4.375 kB / 0.9823 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.002519, allocations: 74.22 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.002528, allocations: 8.125 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.002536, allocations: 4.375 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.002542, allocations: 8.125 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.002598, allocations: 47.97 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.00299, allocations: 454.2 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.003055, allocations: 165.1 kB / 0.983 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.003081, allocations: 80.14 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.003101, allocations: 79.28 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.003133, allocations: 109.8 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.003134, allocations: 0 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.933e-05/0.003194, allocations: 37.59 kB / 0.9833 GB, free: 40 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.003257, allocations: 130.7 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.003377, allocations: 176.1 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.003386, allocations: 25.7 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.00344, allocations: 100.1 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.003443, allocations: 0 / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.003467, allocations: 13.72 kB / 0.9837 GB, free: 15.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.003544, allocations: 318.8 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.003557, allocations: 7.984 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.003568, allocations: 7.984 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.003603, allocations: 16.86 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003605, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.534e-05/0.003701, allocations: 57.64 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.003716, allocations: 11.98 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.003719, allocations: 0 / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.003731, allocations: 0 / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.003781, allocations: 4 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.003786, allocations: 0 / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.003803, allocations: 11.89 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.003812, allocations: 0 / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.643e-05/0.003888, allocations: 201 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.003928, allocations: 105 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.004136, allocations: 116.8 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/0.004175, allocations: 180.3 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/0.004217, allocations: 184.2 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.004258, allocations: 184.2 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.004409, allocations: 392.2 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.004434, allocations: 105.1 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.004461, allocations: 104.9 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-05/0.004502, allocations: 188.2 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.004553, allocations: 176.5 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.961e-05/0.004593, allocations: 184.2 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.87e-05/0.004631, allocations: 184.3 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.004721, allocations: 319.7 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.004757, allocations: 108.9 kB / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.004806, allocations: 188.2 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.004858, allocations: 105 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.004901, allocations: 176.3 kB / 0.9872 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.004926, allocations: 104.9 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.004991, allocations: 139.2 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004991, allocations: 0 / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001408/0.005132, allocations: 4 kB / 0.9875 GB, free: 11.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002739/0.005406, allocations: 0.8087 MB / 0.9882 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.005469, allocations: 15.92 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005471, allocations: 0 / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.005473, allocations: 4 kB / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.005782, allocations: 469.5 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.00675, allocations: 1.614 MB / 0.9903 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.006802, allocations: 75.33 kB / 0.9904 GB, free: 8.438 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.006823, allocations: 4 kB / 0.9904 GB, free: 8.434 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.006861, allocations: 20.56 kB / 0.9904 GB, free: 8.414 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.006861, allocations: 0 / 0.9904 GB, free: 8.414 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.02276, allocations: 2.296 MB / 0.9926 GB, free: 6.262 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.671, allocations: 10.98 kB / 0.9926 GB, free: 6.254 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.69395009521395]