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.005318/0.005318, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00125/0.00125, allocations: 193.5 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 63.91 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9747, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001905/0.9767, allocations: 0.6594 MB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.9769, allocations: 19.92 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.977, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.9771, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.9772, allocations: 7.875 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.9773, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.9775, allocations: 39.97 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.9776, allocations: 35.97 kB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.9777, allocations: 11.94 kB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.9777, allocations: 19.92 kB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.9777, allocations: 4 kB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.9778, allocations: 4 kB / 1.208 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.9778, allocations: 11.88 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.9779, allocations: 23.86 kB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.978, allocations: 43.81 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.978, allocations: 0 / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.634e-06/0.978, allocations: 0 / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.978, allocations: 0 / 1.208 GB, free: 12.68 MB / 0.9356 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.0004411/0.9785, allocations: 353.7 kB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9785, allocations: 8.031 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.9786, allocations: 38.75 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.9786, allocations: 12.83 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.9788, allocations: 172.2 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.9788, allocations: 8.375 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.9788, allocations: 8.312 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.979, allocations: 74.22 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.979, allocations: 3.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.979, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9791, allocations: 8 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.9791, allocations: 51.91 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.9796, allocations: 483 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.9797, allocations: 169.1 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.9798, allocations: 80.14 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.9798, allocations: 83.28 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.9798, allocations: 109.8 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9798, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.481e-05/0.9799, allocations: 33.61 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.98, allocations: 134.6 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.9801, allocations: 171.8 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.9802, allocations: 25.7 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.9802, allocations: 100.1 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.9802, allocations: 0 / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.9803, allocations: 13.7 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9804, allocations: 318.8 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.9804, allocations: 7.984 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.9804, allocations: 8 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.9805, allocations: 16.78 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9805, allocations: 4.062 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001266/0.9806, allocations: 53.59 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9806, allocations: 4 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9807, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9807, allocations: 4 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.9807, allocations: 11.91 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.9807, allocations: 0 / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.9808, allocations: 4 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.9808, allocations: 4 kB / 1.211 GB, free: 9.918 MB / 0.9356 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.0001111/0.9809, allocations: 197.1 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.981, allocations: 116.9 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.9811, allocations: 112.9 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.9811, allocations: 184.1 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-05/0.9812, allocations: 180.4 kB / 1.211 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-05/0.9813, allocations: 188.2 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.9815, allocations: 421.1 kB / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.9816, allocations: 105 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.9816, allocations: 104.9 kB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.055e-05/0.9817, allocations: 184.2 kB / 1.212 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.9818, allocations: 176.3 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.162e-05/0.9819, allocations: 188.1 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.204e-05/0.982, allocations: 180.3 kB / 1.213 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.9822, allocations: 311.7 kB / 1.213 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9823, allocations: 190 kB / 1.213 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.9824, allocations: 184.2 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.9825, allocations: 108.9 kB / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.9826, allocations: 188.2 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.9827, allocations: 101 kB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001349/0.9828, allocations: 133 kB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.72e-07/0.9828, allocations: 0 / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002595/0.9831, allocations: 4 kB / 1.214 GB, free: 6.211 MB / 0.9356 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.0006199/0.9837, allocations: 0.8091 MB / 1.215 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.9838, allocations: 11.98 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9838, allocations: 3.938 kB / 1.215 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.9839, allocations: 4 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.9844, allocations: 467.6 kB / 1.215 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.9862, allocations: 1.622 MB / 1.217 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.9866, allocations: 0.6885 MB / 1.218 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.9866, allocations: 7.906 kB / 1.218 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.9867, allocations: 23.42 kB / 1.218 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of SimCode: time 4.7e-07/0.9867, allocations: 4 kB / 1.218 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/1.005, allocations: 1.62 MB / 1.219 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.467, allocations: 4.062 kB / 1.219 GB, free: 0.9141 MB / 0.9356 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