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.01065/0.01065, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.002191/0.002191, allocations: 196.8 kB / 16.67 MB, free: 5.949 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.12 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 159.9 MB / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002056/0.3915, allocations: 0.6539 MB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.3917, allocations: 7.938 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3917, allocations: 0 / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3919, allocations: 7.938 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.3919, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3921, allocations: 7.969 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3922, allocations: 39.97 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3924, allocations: 27.94 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.3924, allocations: 19.92 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.3925, allocations: 11.94 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3925, allocations: 4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.3925, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.3925, allocations: 15.92 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3926, allocations: 19.81 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3927, allocations: 55.73 kB / 1.227 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3927, allocations: 0 / 1.227 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3927, allocations: 0 / 1.227 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.3927, allocations: 0 / 1.227 GB, free: 8.262 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.0003766/0.3931, allocations: 347.4 kB / 1.227 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3932, allocations: 8.031 kB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3932, allocations: 8.891 kB / 1.227 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3934, allocations: 184.3 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3934, allocations: 12.31 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3934, allocations: 4.375 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3936, allocations: 82.09 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3936, allocations: 4.188 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3936, allocations: 7.938 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3937, allocations: 0 / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3938, allocations: 43.97 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.3943, allocations: 495.1 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.3944, allocations: 169.1 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.3944, allocations: 80.14 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3945, allocations: 83.22 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.3945, allocations: 109.8 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3945, allocations: 0 / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.3946, allocations: 33.66 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.3947, allocations: 126.7 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3949, allocations: 184.8 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.3949, allocations: 25.7 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.3949, allocations: 96.12 kB / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.395, allocations: 0 / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.395, allocations: 21.7 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3951, allocations: 314.8 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.3951, allocations: 7.984 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.3952, allocations: 11.94 kB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.3952, allocations: 16.84 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3952, allocations: 0 / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001493/0.3954, allocations: 49.64 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3954, allocations: 8 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3954, allocations: 4.094 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3954, allocations: 112 / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.3955, allocations: 3.938 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3955, allocations: 11.92 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.3955, allocations: 7.953 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3955, allocations: 0 / 1.229 GB, free: 5.523 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.0001116/0.3957, allocations: 197.6 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3957, allocations: 108.9 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.3958, allocations: 116.9 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/0.3959, allocations: 180.2 kB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.142e-05/0.396, allocations: 188.2 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/0.396, allocations: 176.3 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3963, allocations: 421.1 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.3963, allocations: 105 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3964, allocations: 104.9 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.79e-05/0.3965, allocations: 180.3 kB / 1.231 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.3965, allocations: 184.2 kB / 1.231 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/0.3967, allocations: 180.2 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.257e-05/0.3967, allocations: 184.2 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3969, allocations: 312 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.397, allocations: 202 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.3971, allocations: 180.3 kB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.3972, allocations: 105 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.3973, allocations: 192.1 kB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.3973, allocations: 101 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3974, allocations: 131.2 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3974, allocations: 0 / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000235/0.3977, allocations: 8 kB / 1.232 GB, free: 1.816 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.0001839/0.3979, allocations: 170.5 kB / 1.233 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.3979, allocations: 15.94 kB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.398, allocations: 4.062 kB / 1.233 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.398, allocations: 0 / 1.233 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3984, allocations: 465.7 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.3987, allocations: 212 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.399, allocations: 0.6955 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.399, allocations: 4 kB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.3991, allocations: 11.44 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3991, allocations: 3.938 kB / 1.234 GB, free: 196 kB / 0.9825 GB Notification: Performance of Templates: time 0.002607/0.4017, allocations: 476.4 kB / 1.234 GB, free: 15.72 MB / 0.9981 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