Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006841/0.006841, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001776/0.001777, allocations: 189 kB / 16.68 MB, free: 6.367 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.79/2.79, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 62.06 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3856, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.003387/0.3891, allocations: 0.6514 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.3894, allocations: 15.88 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.3895, allocations: 0 / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3897, allocations: 0 / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.3898, allocations: 7.922 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.3899, allocations: 4 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.39, allocations: 19.98 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.3903, allocations: 35.98 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.3903, allocations: 15.92 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.3904, allocations: 15.92 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3904, allocations: 8 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3904, allocations: 0 / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3905, allocations: 11.94 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.3906, allocations: 19.88 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.3907, allocations: 59.66 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3908, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3908, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3908, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 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.0005626/0.3914, allocations: 351.3 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.3914, allocations: 8.031 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.3915, allocations: 12.89 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3917, allocations: 176.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3918, allocations: 4.375 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3918, allocations: 4.375 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3921, allocations: 82.16 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3921, allocations: 4.125 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3921, allocations: 7.938 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3921, allocations: 0 / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.3922, allocations: 43.97 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.393, allocations: 495.1 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3932, allocations: 165.1 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.3933, allocations: 80.52 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3934, allocations: 75.28 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.3935, allocations: 113.8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3935, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.916e-05/0.3936, allocations: 41.59 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.3937, allocations: 126.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.3939, allocations: 179 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3939, allocations: 25.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.394, allocations: 96.12 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.394, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.394, allocations: 21.67 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3942, allocations: 318.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.3942, allocations: 7.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.3943, allocations: 15.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.3943, allocations: 12.86 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3943, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001471/0.3945, allocations: 53.61 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3945, allocations: 12.09 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3945, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3945, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.3946, allocations: 4.109 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3946, allocations: 7.875 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.3947, allocations: 7.953 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3947, allocations: 0 / 1.091 GB, free: 13.84 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 0.0001258/0.3948, allocations: 197.1 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.3949, allocations: 112.9 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.395, allocations: 116.8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/0.3951, allocations: 176.3 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.67e-05/0.3952, allocations: 188.1 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-05/0.3953, allocations: 176.3 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.3955, allocations: 430.5 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.3956, allocations: 101 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.3956, allocations: 105 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.3957, allocations: 180.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.3958, allocations: 176.3 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.346e-05/0.3959, allocations: 180.2 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/0.396, allocations: 196.2 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3962, allocations: 299.8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3963, allocations: 198 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/0.3964, allocations: 180.2 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3966, allocations: 105.3 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3967, allocations: 184.2 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.3968, allocations: 109 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3969, allocations: 133 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.72e-07/0.397, allocations: 0 / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002767/0.3972, allocations: 8 kB / 1.095 GB, free: 10.14 MB / 0.8575 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.0001984/0.3974, allocations: 178.5 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.3975, allocations: 16 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3976, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.3976, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.3983, allocations: 459.6 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.3987, allocations: 208.2 kB / 1.095 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3991, allocations: 0.7002 MB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.3992, allocations: 7.938 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3992, allocations: 7.438 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of SimCode: time 3.547e-06/0.3992, allocations: 0 / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.003602/0.4028, allocations: 478.9 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches