Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",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.006663/0.006663, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00172/0.00172, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.641/2.641, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 68.12 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2596, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001664/0.2613, allocations: 0.6672 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.2615, allocations: 7.938 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.2615, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/0.2616, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.284e-05/0.2616, allocations: 7.922 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.068e-05/0.2617, allocations: 4 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.2618, allocations: 39.97 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2619, allocations: 24 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.262, allocations: 19.92 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.262, allocations: 15.92 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.262, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.2621, allocations: 4 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2621, allocations: 15.92 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.2621, allocations: 15.88 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.2622, allocations: 55.69 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2622, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2622, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2623, allocations: 4 kB / 1.221 GB, free: 13.38 MB / 0.9825 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.0003362/0.2626, allocations: 351.3 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2626, allocations: 8.031 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.2627, allocations: 34.75 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.2627, allocations: 8.891 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.2629, allocations: 188.2 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.2629, allocations: 4.375 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.2629, allocations: 384 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.263, allocations: 90.09 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2631, allocations: 7.938 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.2631, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2631, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.2632, allocations: 55.97 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.2636, allocations: 479.2 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.2637, allocations: 169.1 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.2638, allocations: 89.98 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2638, allocations: 79.22 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.2639, allocations: 113.8 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2639, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.546e-05/0.2639, allocations: 29.66 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.264, allocations: 134.6 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2642, allocations: 171.5 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2642, allocations: 25.7 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.2642, allocations: 96.12 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.2643, allocations: 0 / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.2643, allocations: 13.72 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2644, allocations: 322.8 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.2644, allocations: 4 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.2645, allocations: 11.98 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.2645, allocations: 16.97 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2645, allocations: 3.938 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.2646, allocations: 57.62 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2646, allocations: 4 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2646, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2647, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.2647, allocations: 7.938 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2647, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.2647, allocations: 11.98 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2648, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 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.0001025/0.2649, allocations: 197.1 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.2649, allocations: 108.9 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.265, allocations: 116.8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.966e-05/0.2651, allocations: 180.2 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-05/0.2651, allocations: 184.2 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/0.2652, allocations: 176.3 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2655, allocations: 421.1 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/0.2655, allocations: 109 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2656, allocations: 101 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-05/0.2656, allocations: 184.2 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.2657, allocations: 180.3 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.412e-05/0.2658, allocations: 192.1 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.03e-05/0.2659, allocations: 180.2 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.266, allocations: 304 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.2661, allocations: 202.1 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.2662, allocations: 188.2 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.2663, allocations: 104.9 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.2664, allocations: 180.2 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.2664, allocations: 105 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001081/0.2665, allocations: 145.1 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 4 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001986/0.2667, allocations: 4 kB / 1.227 GB, free: 6.898 MB / 0.9825 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.0004488/0.2672, allocations: 0.8131 MB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.852e-05/0.2673, allocations: 12 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2673, allocations: 4.062 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.2673, allocations: 3.984 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2677, allocations: 463.6 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.269, allocations: 1.599 MB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.2693, allocations: 0.6885 MB / 1.23 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.2693, allocations: 15.98 kB / 1.23 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2694, allocations: 15.55 kB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2694, allocations: 0 / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/1.62, allocations: 1.635 MB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.9, allocations: 0.7031 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches