Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_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.008373/0.008381, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.002114/0.002115, allocations: 190 kB / 16.67 MB, free: 6.379 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 75.89 kB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3728, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002274/0.3751, allocations: 0.6595 MB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001923/0.3753, allocations: 11.94 kB / 1.208 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.3754, allocations: 0 / 1.208 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.3756, allocations: 3.938 kB / 1.208 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.3756, allocations: 3.984 kB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.3757, allocations: 4 kB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.3759, allocations: 39.91 kB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.376, allocations: 28 kB / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.3761, allocations: 15.92 kB / 1.208 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.3761, allocations: 19.92 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3761, allocations: 4 kB / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3762, allocations: 4 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.3762, allocations: 15.92 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3762, allocations: 15.88 kB / 1.208 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3764, allocations: 47.81 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3764, allocations: 0 / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3764, allocations: 0 / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3764, allocations: 3.938 kB / 1.208 GB, free: 9.172 MB / 0.9669 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.0004076/0.3768, allocations: 351.6 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3769, allocations: 12.62 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.3769, allocations: 38.75 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.377, allocations: 4.938 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3772, allocations: 192.1 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3772, allocations: 4.375 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3772, allocations: 4.375 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3774, allocations: 78.16 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3774, allocations: 3.938 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3774, allocations: 8 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3774, allocations: 4 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.3775, allocations: 43.97 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.3781, allocations: 479.1 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.3781, allocations: 173.1 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.3782, allocations: 84.08 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3782, allocations: 83.28 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3783, allocations: 109.8 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.3783, allocations: 0 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.507e-05/0.3784, allocations: 33.61 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.3784, allocations: 130.6 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3786, allocations: 171.4 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3786, allocations: 25.7 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3787, allocations: 100.1 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.3787, allocations: 0 / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3788, allocations: 9.719 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3789, allocations: 322.8 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.3789, allocations: 7.938 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.3789, allocations: 11.98 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.379, allocations: 12.86 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.379, allocations: 4.062 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000135/0.3791, allocations: 53.58 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3791, allocations: 4 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3792, allocations: 4.109 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3792, allocations: 3.938 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.3792, allocations: 3.938 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3793, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.3793, allocations: 11.84 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3793, allocations: 7.938 kB / 1.211 GB, free: 6.395 MB / 0.9669 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.0001198/0.3794, allocations: 197.1 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3795, allocations: 105 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3796, allocations: 116.8 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-05/0.3797, allocations: 188.1 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.3797, allocations: 180.3 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-05/0.3798, allocations: 180.2 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.38, allocations: 421.2 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.3801, allocations: 105 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.3801, allocations: 104.9 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-05/0.3802, allocations: 184.8 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.3803, allocations: 180.2 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.425e-05/0.3803, allocations: 184.2 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.219e-05/0.3804, allocations: 184.2 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3806, allocations: 307.9 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.3807, allocations: 202 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.3807, allocations: 184.2 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.3808, allocations: 104.9 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.3809, allocations: 184.2 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.381, allocations: 101 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3811, allocations: 132.6 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3811, allocations: 0 / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002193/0.3813, allocations: 4 kB / 1.214 GB, free: 2.699 MB / 0.9669 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.0004671/0.3818, allocations: 0.8164 MB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.3819, allocations: 8 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3819, allocations: 0 / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.3819, allocations: 3.984 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3823, allocations: 475.6 kB / 1.215 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3838, allocations: 1.617 MB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.384, allocations: 0.6885 MB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.3841, allocations: 7.984 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3841, allocations: 19.44 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3841, allocations: 0 / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.4019, allocations: 1.635 MB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.937, allocations: 7.094 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches