Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007055/0.007055, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001389/0.001389, allocations: 193 kB / 16.67 MB, free: 5.52 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.788/2.788, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.00188, allocations: 67.89 kB / 0.9505 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8304, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001981/0.8325, allocations: 0.6509 MB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000168/0.8326, allocations: 11.5 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.8327, allocations: 5 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.8328, allocations: 2.453 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.8328, allocations: 3.938 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.128e-05/0.8329, allocations: 7.5 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.8331, allocations: 40.66 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.8332, allocations: 34.73 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.8332, allocations: 11.41 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.8333, allocations: 17.98 kB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.8333, allocations: 2.594 kB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.8333, allocations: 3.312 kB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.8334, allocations: 9.438 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.8334, allocations: 20.75 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.8335, allocations: 57.25 kB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8335, allocations: 0 / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8335, allocations: 0 / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8335, allocations: 0 / 1.088 GB, free: 4.75 MB / 0.8575 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.0002624/0.8338, allocations: 343.3 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8339, allocations: 9.969 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.8339, allocations: 38.44 kB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.8339, allocations: 11.75 kB / 1.089 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.8341, allocations: 187.2 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.8341, allocations: 10.97 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.8341, allocations: 7.094 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.8343, allocations: 79.38 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8343, allocations: 3.938 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.8343, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.8343, allocations: 2.531 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.8344, allocations: 48.16 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.8348, allocations: 491.2 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.8349, allocations: 166.2 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.8349, allocations: 81.27 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.8349, allocations: 75.89 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.8349, allocations: 111.4 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.835, allocations: 4 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.837e-05/0.835, allocations: 29.38 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.8351, allocations: 135.9 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.8352, allocations: 177.1 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.8353, allocations: 29.7 kB / 1.09 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.8353, allocations: 94.66 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.8353, allocations: 0 / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.8353, allocations: 12.53 kB / 1.09 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.8354, allocations: 319.7 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.8354, allocations: 10.36 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.8354, allocations: 6.359 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.8355, allocations: 20.47 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8355, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.8356, allocations: 53.5 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8356, allocations: 8.531 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8357, allocations: 96 / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8357, allocations: 5.156 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.8357, allocations: 6.641 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8357, allocations: 1.562 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.8358, allocations: 7.531 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.8358, allocations: 3.062 kB / 1.091 GB, free: 2.316 MB / 0.8575 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 6.382e-05/0.8359, allocations: 196.2 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.8359, allocations: 116.1 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.836, allocations: 115.1 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.8361, allocations: 185.9 kB / 1.091 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.388e-05/0.8362, allocations: 178.1 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/0.8362, allocations: 182.2 kB / 1.092 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.8365, allocations: 417.7 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.8365, allocations: 102.5 kB / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.8366, allocations: 114.5 kB / 1.092 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.256e-05/0.8367, allocations: 181.8 kB / 1.093 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.8367, allocations: 178.6 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.385e-05/0.8368, allocations: 185.9 kB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.208e-05/0.8369, allocations: 177.9 kB / 1.093 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.837, allocations: 315 kB / 1.093 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.8371, allocations: 183.2 kB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.8372, allocations: 183.6 kB / 1.094 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.8373, allocations: 114.5 kB / 1.094 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.8374, allocations: 185.7 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.8374, allocations: 106.8 kB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001195/0.8375, allocations: 131.5 kB / 1.094 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8376, allocations: 1.406 kB / 1.094 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000321/0.8379, allocations: 4.125 kB / 1.094 GB, free: 14.73 MB / 0.8731 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.0004148/0.8383, allocations: 0.8163 MB / 1.095 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.189e-05/0.8384, allocations: 9.203 kB / 1.095 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8384, allocations: 0 / 1.095 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.8384, allocations: 0 / 1.095 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.8389, allocations: 464.1 kB / 1.095 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.8403, allocations: 1.606 MB / 1.097 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.8406, allocations: 0.6946 MB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.8406, allocations: 5.938 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.8407, allocations: 15.22 kB / 1.098 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/0.8407, allocations: 112 / 1.098 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.881/2.722, allocations: 1.631 MB / 1.099 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/17.7, allocations: 18.94 kB / 1.099 GB, free: 10.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches