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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, 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.001768/0.001768, allocations: 193.8 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.002011, allocations: 72.94 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002423/0.3799, allocations: 0.6465 MB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.3801, allocations: 19.91 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.3801, allocations: 4 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3802, allocations: 4 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.3803, allocations: 3.938 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.3804, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3806, allocations: 39.97 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3807, allocations: 39.92 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.3808, allocations: 11.94 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.3808, allocations: 15.92 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3809, allocations: 7.984 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.3809, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.3809, allocations: 11.94 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.381, allocations: 19.88 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3811, allocations: 43.81 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3811, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.749e-06/0.3811, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3811, allocations: 3.938 kB / 1.069 GB, free: 9.504 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.0004693/0.3816, allocations: 351.7 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3817, allocations: 8.031 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.3817, allocations: 8.844 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.382, allocations: 180.3 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.382, allocations: 8.375 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.382, allocations: 4.375 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3822, allocations: 74.23 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3823, allocations: 192 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3823, allocations: 7.938 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3823, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3824, allocations: 51.91 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.3832, allocations: 487 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3833, allocations: 177.1 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.3834, allocations: 80.14 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.3835, allocations: 79.28 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/0.3836, allocations: 109.8 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.3836, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001189/0.3837, allocations: 37.64 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.3838, allocations: 126.7 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3841, allocations: 179.4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3841, allocations: 25.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3842, allocations: 98.3 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.3842, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3843, allocations: 13.72 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3845, allocations: 314.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.3845, allocations: 11.98 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.3845, allocations: 8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.3846, allocations: 16.84 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3846, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001783/0.3848, allocations: 53.53 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3848, allocations: 11.98 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3849, allocations: 3.938 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.3849, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.385, allocations: 8.094 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.385, allocations: 3.938 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.3851, allocations: 7.938 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3851, allocations: 0 / 1.072 GB, free: 6.781 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.0001652/0.3853, allocations: 197.1 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3854, allocations: 104.9 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3855, allocations: 120.6 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/0.3856, allocations: 188.2 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/0.3858, allocations: 184.1 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/0.3859, allocations: 176.4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.3863, allocations: 421.1 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.399e-05/0.3864, allocations: 104.9 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.3865, allocations: 109 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.974e-05/0.3866, allocations: 184.2 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.3867, allocations: 180.3 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.453e-05/0.3868, allocations: 176.3 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.3869, allocations: 196.2 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.3871, allocations: 311.7 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3873, allocations: 186.1 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3874, allocations: 176.3 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3876, allocations: 113.2 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3877, allocations: 180.2 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.3877, allocations: 113 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001365/0.3879, allocations: 136.4 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3879, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000288/0.3882, allocations: 8 kB / 1.075 GB, free: 3.066 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.0002687/0.3885, allocations: 171.1 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.3886, allocations: 15.98 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3886, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.3886, allocations: 4.062 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.3892, allocations: 463.7 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.3897, allocations: 215.9 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.39, allocations: 0.6924 MB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.3901, allocations: 11.98 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3901, allocations: 11.44 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3901, allocations: 0 / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.003402/0.3935, allocations: 474.6 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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