Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004693/0.004693, allocations: 99.89 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 187.8 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.595/2.595, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7253, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001894/0.7272, allocations: 0.6447 MB / 1.221 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.7274, allocations: 19.97 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.7274, allocations: 0 / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.758e-05/0.7276, allocations: 7.875 kB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.17e-05/0.7276, allocations: 0 / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-05/0.7277, allocations: 8 kB / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.7278, allocations: 23.92 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.7279, allocations: 31.98 kB / 1.221 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.7279, allocations: 11.94 kB / 1.221 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.728, allocations: 15.92 kB / 1.221 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.728, allocations: 8 kB / 1.221 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.728, allocations: 4 kB / 1.221 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.7281, allocations: 11.92 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.7281, allocations: 23.86 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.7282, allocations: 46.48 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7282, allocations: 3.938 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7282, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7282, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.9356 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.0003669/0.7286, allocations: 348.3 kB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.7287, allocations: 11.97 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.7287, allocations: 46.73 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.7287, allocations: 8.891 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.7289, allocations: 176.3 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.7289, allocations: 8.359 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.7289, allocations: 4.375 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.7291, allocations: 74.17 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7291, allocations: 3.938 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.7291, allocations: 4 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7291, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.7292, allocations: 59.84 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.7297, allocations: 483.2 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.7298, allocations: 173.1 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.7298, allocations: 84.14 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.7298, allocations: 75.28 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.7299, allocations: 109.8 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 2.554e-06/0.7299, allocations: 3.984 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.813e-05/0.73, allocations: 41.58 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.73, allocations: 130.6 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.7302, allocations: 171.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.7302, allocations: 25.7 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.7303, allocations: 100.1 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.7303, allocations: 0 / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.7303, allocations: 9.719 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7305, allocations: 318.8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.7305, allocations: 7.984 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.7305, allocations: 12 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.7306, allocations: 12.84 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7306, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.7307, allocations: 61.64 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7307, allocations: 4 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7307, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7308, allocations: 4 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.7308, allocations: 7.922 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.7308, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.7309, allocations: 7.953 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.7309, allocations: 4 kB / 1.224 GB, free: 14.4 MB / 0.9512 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 0.0001168/0.731, allocations: 197.1 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.7311, allocations: 113 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.7311, allocations: 116.8 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-05/0.7312, allocations: 184.3 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.536e-05/0.7313, allocations: 184.1 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/0.7314, allocations: 180.3 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.7316, allocations: 421.2 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/0.7317, allocations: 104.9 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.7317, allocations: 101 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/0.7318, allocations: 188.2 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.7319, allocations: 176.3 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.986e-05/0.732, allocations: 188.2 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.889e-05/0.7321, allocations: 184.2 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.7322, allocations: 312.6 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.7323, allocations: 190 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.7324, allocations: 176.3 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.7325, allocations: 120.8 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.7326, allocations: 180.3 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.7327, allocations: 104.9 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000104/0.7328, allocations: 133.4 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7328, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002238/0.733, allocations: 4 kB / 1.227 GB, free: 10.7 MB / 0.9512 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.0004509/0.7335, allocations: 0.8135 MB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.334e-05/0.7335, allocations: 15.94 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7335, allocations: 0 / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.7335, allocations: 0 / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.734, allocations: 463.7 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.7354, allocations: 1.61 MB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.7357, allocations: 0.6885 MB / 1.23 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.7357, allocations: 4 kB / 1.23 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.7358, allocations: 23.42 kB / 1.23 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7358, allocations: 0 / 1.23 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.425/3.16, allocations: 1.625 MB / 1.232 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/16.74, allocations: 7.5 kB / 1.232 GB, free: 5.406 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches