Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.001364/0.001364, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8893, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002091/0.8915, allocations: 0.7776 MB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.8926, allocations: 0.8686 MB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.8927, allocations: 4 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.8928, allocations: 11.86 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.8929, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.8931, allocations: 43.88 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.8933, allocations: 83.83 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.8934, allocations: 31.97 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.8935, allocations: 43.78 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.8936, allocations: 47.81 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.8937, allocations: 8 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.8937, allocations: 8 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.8937, allocations: 19.98 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.8938, allocations: 35.8 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.8939, allocations: 87.59 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.894, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.894, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.894, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000718/0.8947, allocations: 393 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8948, allocations: 12.92 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.8948, allocations: 12.84 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.895, allocations: 180.2 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8951, allocations: 8.375 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.8951, allocations: 4.375 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.8955, allocations: 106.9 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.8955, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.8955, allocations: 8 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8955, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.8959, allocations: 99.84 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.8965, allocations: 344.6 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.8972, allocations: 122.5 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.8974, allocations: 56.81 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.8974, allocations: 3.984 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.8974, allocations: 30.56 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.8974, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006573/0.8981, allocations: 185.5 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.8982, allocations: 51.41 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.8983, allocations: 129.7 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.8983, allocations: 33.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.8984, allocations: 95.97 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.8984, allocations: 23.75 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.8985, allocations: 25.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8986, allocations: 318.8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8988, allocations: 43.95 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.8989, allocations: 43.95 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.8993, allocations: 105.2 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8993, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003871/0.8997, allocations: 133.5 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8997, allocations: 8 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8997, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8997, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.8999, allocations: 27.91 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8999, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.9001, allocations: 23.91 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.9001, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.061e-05/0.9002, allocations: 113.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.9002, allocations: 15.84 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.9007, allocations: 149.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9007, allocations: 3.984 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9007, allocations: 3.938 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.9007, allocations: 3.938 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.9009, allocations: 201.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9009, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.9011, allocations: 23.97 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9011, allocations: 3.984 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.9011, allocations: 4 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9011, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9011, allocations: 3.938 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.9016, allocations: 231.4 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.9016, allocations: 85.02 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.9016, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.9018, allocations: 19.98 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.9019, allocations: 31.84 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.9019, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.902, allocations: 95.27 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.902, allocations: 4 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002553/0.9022, allocations: 19.94 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001414/0.9024, allocations: 99.23 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.9028, allocations: 103.9 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9028, allocations: 0 / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.903, allocations: 63.89 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.9034, allocations: 11.98 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.9039, allocations: 195.9 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.9041, allocations: 0.6924 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.9042, allocations: 19.42 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9042, allocations: 0 / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.003557/0.9078, allocations: 1.257 MB / 1.175 GB, free: 11.39 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches