Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008482/0.008482, allocations: 101.4 kB / 15.73 MB, free: 5.551 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.00184/0.001841, allocations: 195.1 kB / 16.67 MB, free: 5.48 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: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 75.81 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.202, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002872/1.205, allocations: 0.7588 MB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001585/1.207, allocations: 0.8702 MB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/1.207, allocations: 0 / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/1.207, allocations: 15.8 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/1.207, allocations: 3.938 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/1.207, allocations: 43.89 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/1.208, allocations: 79.88 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/1.208, allocations: 31.92 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/1.208, allocations: 39.84 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/1.208, allocations: 47.81 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/1.208, allocations: 8 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/1.208, allocations: 8 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/1.208, allocations: 23.92 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/1.208, allocations: 39.78 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/1.208, allocations: 84.22 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.208, allocations: 0 / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.765e-06/1.208, allocations: 4 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.208, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 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.0007928/1.209, allocations: 395.1 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.209, allocations: 8.031 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/1.209, allocations: 16.77 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/1.21, allocations: 176.2 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/1.21, allocations: 8.375 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/1.21, allocations: 4.375 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/1.21, allocations: 120.6 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.21, allocations: 4 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.21, allocations: 4 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.21, allocations: 0 / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/1.21, allocations: 95.84 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/1.211, allocations: 348.7 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/1.212, allocations: 122.5 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/1.212, allocations: 56.81 kB / 1.229 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/1.212, allocations: 4 kB / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.212, allocations: 30.56 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.212, allocations: 0 / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0007582/1.213, allocations: 189.5 kB / 1.229 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.213, allocations: 51.41 kB / 1.229 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.213, allocations: 129.7 kB / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.213, allocations: 29.7 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/1.213, allocations: 104 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/1.213, allocations: 15.86 kB / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/1.213, allocations: 25.7 kB / 1.229 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.214, allocations: 314.8 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/1.214, allocations: 51.95 kB / 1.23 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/1.214, allocations: 47.95 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/1.214, allocations: 88.78 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.214, allocations: 4 kB / 1.23 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004386/1.215, allocations: 137.5 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.215, allocations: 4 kB / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.215, allocations: 0 / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.445e-05/1.215, allocations: 0 / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.215, allocations: 27.91 kB / 1.23 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.215, allocations: 4 kB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/1.215, allocations: 27.84 kB / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.215, allocations: 4 kB / 1.23 GB, free: 8.617 MB / 0.9512 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,min1.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 0.0001399/1.215, allocations: 113.8 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/1.215, allocations: 3.953 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/1.216, allocations: 161.9 kB / 1.23 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.216, allocations: 0 / 1.23 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.216, allocations: 3.938 kB / 1.23 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.216, allocations: 3.938 kB / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/1.216, allocations: 193.6 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.216, allocations: 7.922 kB / 1.231 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/1.216, allocations: 23.97 kB / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.216, allocations: 0 / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/1.216, allocations: 12 kB / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.216, allocations: 0 / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.216, allocations: 0 / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/1.217, allocations: 235.3 kB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/1.217, allocations: 81.06 kB / 1.231 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/1.217, allocations: 12 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.217, allocations: 15.97 kB / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.217, allocations: 27.86 kB / 1.231 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.217, allocations: 4 kB / 1.231 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.466e-05/1.217, allocations: 91.27 kB / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/1.217, allocations: 0 / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002529/1.218, allocations: 12 kB / 1.231 GB, free: 7.531 MB / 0.9512 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 (min1.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.0001988/1.218, allocations: 111.2 kB / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004844/1.218, allocations: 100.7 kB / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.218, allocations: 0 / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/1.219, allocations: 67.88 kB / 1.231 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/1.219, allocations: 18.03 kB / 1.231 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/1.219, allocations: 184.8 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/1.22, allocations: 0.6924 MB / 1.232 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.134e-05/1.22, allocations: 8 kB / 1.232 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/1.22, allocations: 23.42 kB / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/1.22, allocations: 0 / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of Templates: time 0.005185/1.225, allocations: 1.587 MB / 1.234 GB, free: 4.699 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches