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.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 74.36 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2529, allocations: 159.1 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001765/0.2547, allocations: 0.651 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.2549, allocations: 11.94 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2549, allocations: 3.938 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.354e-05/0.255, allocations: 3.984 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.087e-05/0.2551, allocations: 7.938 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.621e-05/0.2551, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.2552, allocations: 23.98 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2553, allocations: 35.97 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.2554, allocations: 11.94 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.2554, allocations: 15.92 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2554, allocations: 4 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.2554, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.2555, allocations: 11.94 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2555, allocations: 19.88 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.2556, allocations: 47.8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2556, allocations: 4 kB / 1.065 GB, free: 13.3 MB / 0.8262 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.0003261/0.2559, allocations: 351.6 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.256, allocations: 8.031 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.256, allocations: 38.75 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.2561, allocations: 4.844 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2562, allocations: 188.2 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2562, allocations: 4.375 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2562, allocations: 4.375 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.2564, allocations: 82.22 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2564, allocations: 3.938 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2564, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2564, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.2565, allocations: 55.84 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.257, allocations: 483.1 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/0.2571, allocations: 173.1 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.2571, allocations: 84.14 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.2572, allocations: 75.28 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.2572, allocations: 105.8 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.2572, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.037e-05/0.2573, allocations: 33.64 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.2574, allocations: 134.6 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2575, allocations: 175.2 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2576, allocations: 29.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.2576, allocations: 88.14 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.2576, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.2577, allocations: 9.719 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2578, allocations: 322.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.2578, allocations: 7.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.2578, allocations: 15.98 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.2579, allocations: 12.84 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2579, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.258, allocations: 57.53 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.258, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.258, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.258, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.2581, allocations: 7.938 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2581, allocations: 3.984 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.2581, allocations: 12.03 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2581, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 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.0001046/0.2583, allocations: 193.1 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.2583, allocations: 108.9 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.2584, allocations: 120.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/0.2585, allocations: 182 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.435e-05/0.2585, allocations: 184.3 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/0.2586, allocations: 180.2 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2589, allocations: 425.2 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.2589, allocations: 108.9 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.2589, allocations: 101 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.774e-05/0.259, allocations: 180.2 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.2591, allocations: 188.3 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.735e-05/0.2592, allocations: 184.2 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.012e-05/0.2592, allocations: 184.2 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.2594, allocations: 311.7 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.2595, allocations: 186.1 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.2596, allocations: 180.3 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.2597, allocations: 109.2 kB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.2597, allocations: 176.3 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.2598, allocations: 113 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001002/0.2599, allocations: 132.8 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2599, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002019/0.2601, allocations: 4 kB / 1.071 GB, free: 6.828 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.0004438/0.2605, allocations: 0.8087 MB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.845e-05/0.2606, allocations: 19.92 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2606, allocations: 4.062 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.2606, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2611, allocations: 461.5 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2624, allocations: 1.598 MB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2627, allocations: 0.6924 MB / 1.074 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2627, allocations: 15.97 kB / 1.074 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.2627, allocations: 11.44 kB / 1.074 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2627, allocations: 0 / 1.074 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.164/3.427, allocations: 1.598 MB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/16.36, allocations: 11.94 kB / 1.076 GB, free: 1.551 MB / 0.8262 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