Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.001155/0.001155, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008342/0.008342, allocations: 170 kB / 16.27 MB, free: 6.652 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.362/2.362, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 12.28 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0006983/0.2439, allocations: 392.6 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.2441, allocations: 19.91 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.2441, allocations: 4 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.251e-05/0.2442, allocations: 3.938 kB / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.2442, allocations: 3.938 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/0.2443, allocations: 4 kB / 1.059 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.2443, allocations: 19.98 kB / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2445, allocations: 31.98 kB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.2445, allocations: 7.938 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.2445, allocations: 7.938 kB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2445, allocations: 0 / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.2445, allocations: 4 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.2446, allocations: 19.84 kB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.2446, allocations: 41.58 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.21e-05/0.2447, allocations: 31.88 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2447, allocations: 0 / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2447, allocations: 0 / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2447, allocations: 4 kB / 1.059 GB, free: 4.258 MB / 0.8106 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.0002668/0.245, allocations: 343.7 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.245, allocations: 15.97 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.2451, allocations: 38.75 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.2451, allocations: 8.844 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2452, allocations: 184.3 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.2452, allocations: 384 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.2452, allocations: 4.375 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2454, allocations: 82.16 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2454, allocations: 3.938 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2454, allocations: 4 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2454, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.2455, allocations: 51.97 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.2459, allocations: 487 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.246, allocations: 173.1 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.246, allocations: 80.14 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.246, allocations: 79.28 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2461, allocations: 109.9 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2461, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.959e-05/0.2461, allocations: 37.55 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2462, allocations: 130.6 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2463, allocations: 171.7 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2463, allocations: 25.7 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.2464, allocations: 104 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.2464, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.2464, allocations: 9.719 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.2465, allocations: 318.8 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.2465, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.2465, allocations: 11.98 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.2466, allocations: 16.8 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2466, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.846e-05/0.2467, allocations: 57.67 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2467, allocations: 8 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2467, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2467, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.2468, allocations: 7.938 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2468, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.2468, allocations: 11.84 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2468, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 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 8.432e-05/0.2469, allocations: 201.1 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.247, allocations: 104.9 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.247, allocations: 116.8 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/0.2471, allocations: 184.2 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-05/0.2471, allocations: 180.2 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/0.2472, allocations: 176.3 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2474, allocations: 429.1 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.2474, allocations: 105 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.2474, allocations: 105.1 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.2475, allocations: 184.1 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.2476, allocations: 176.3 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.871e-05/0.2476, allocations: 188.1 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-05/0.2477, allocations: 184.3 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2478, allocations: 311.7 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.2478, allocations: 190.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.2479, allocations: 188.2 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.248, allocations: 113 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.248, allocations: 176.3 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.2481, allocations: 108.9 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.99e-05/0.2482, allocations: 132.8 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2482, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001978/0.2484, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8262 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.0003376/0.2487, allocations: 0.8126 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.2488, allocations: 11.94 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2488, allocations: 0 / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.606e-06/0.2488, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2492, allocations: 0.5302 MB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2503, allocations: 1.603 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2505, allocations: 0.6953 MB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.2505, allocations: 8 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.2505, allocations: 19.42 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2505, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.168/3.418, allocations: 1.406 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/3.418, allocations: 210.3 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/5.011, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches