Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_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_latest_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.008933/0.008933, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001678/0.001678, allocations: 192.7 kB / 16.67 MB, free: 5.918 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.12 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306/1.307, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001914/1.309, allocations: 0.7766 MB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00092/1.31, allocations: 0.8623 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/1.31, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/1.31, allocations: 7.875 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/1.31, allocations: 7.875 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/1.31, allocations: 43.94 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/1.311, allocations: 87.77 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/1.311, allocations: 23.98 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/1.311, allocations: 43.83 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/1.311, allocations: 47.83 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/1.311, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/1.311, allocations: 12 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/1.311, allocations: 19.91 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/1.311, allocations: 31.86 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/1.311, allocations: 91.66 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.311, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.735e-06/1.311, allocations: 3.938 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.819e-06/1.311, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 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.0006339/1.312, allocations: 389 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.312, allocations: 16.03 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/1.312, allocations: 8.844 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/1.312, allocations: 180.2 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.312, allocations: 384 / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/1.312, allocations: 8.375 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.312, allocations: 105.5 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.312, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.312, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.312, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/1.313, allocations: 107.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/1.313, allocations: 340.5 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/1.314, allocations: 126.5 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/1.314, allocations: 52.81 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/1.314, allocations: 4 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.314, allocations: 38.5 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.314, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006781/1.315, allocations: 193.4 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/1.315, allocations: 55.34 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/1.315, allocations: 125.8 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.315, allocations: 25.7 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/1.315, allocations: 104 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/1.315, allocations: 19.73 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/1.315, allocations: 21.7 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/1.315, allocations: 318.8 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.316, allocations: 43.95 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/1.316, allocations: 43.95 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/1.316, allocations: 100.8 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.316, allocations: 0 / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000418/1.316, allocations: 141.4 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.317, allocations: 5.562 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/1.317, allocations: 11.98 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.317, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/1.317, allocations: 23.97 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/1.317, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/1.317, allocations: 15.92 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.317, allocations: 4 kB / 1.212 GB, free: 8.762 MB / 0.9356 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 7.76e-05/1.317, allocations: 113.8 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/1.317, allocations: 11.91 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/1.317, allocations: 149.9 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.318, allocations: 4 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.318, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.318, allocations: 3.938 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/1.318, allocations: 201.5 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.318, allocations: 7.938 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/1.318, allocations: 23.97 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.318, allocations: 4 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.318, allocations: 0 / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.318, allocations: 0 / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.318, allocations: 0 / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/1.318, allocations: 239.3 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/1.318, allocations: 85.02 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/1.318, allocations: 3.984 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.319, allocations: 15.92 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/1.319, allocations: 19.92 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/1.319, allocations: 7.984 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.106e-05/1.319, allocations: 99.27 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.319, allocations: 4 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002352/1.319, allocations: 15.94 kB / 1.213 GB, free: 7.668 MB / 0.9356 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.0001151/1.319, allocations: 107.2 kB / 1.213 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000432/1.32, allocations: 96.73 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.32, allocations: 0 / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/1.32, allocations: 71.88 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/1.32, allocations: 12 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/1.321, allocations: 182.3 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/1.321, allocations: 0.6924 MB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.105e-05/1.321, allocations: 12 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/1.321, allocations: 15.42 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.321, allocations: 4 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of Templates: time 0.003839/1.325, allocations: 1.626 MB / 1.216 GB, free: 4.805 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches