Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001701/0.001701, allocations: 192.7 kB / 16.14 MB, free: 6.645 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.872/2.872, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 71.12 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.374, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002191/0.3762, allocations: 0.8303 MB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3774, allocations: 0.8663 MB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.3775, allocations: 0 / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.3775, allocations: 3.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.3776, allocations: 15.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.3778, allocations: 35.97 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3779, allocations: 79.75 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.378, allocations: 31.84 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.3781, allocations: 35.84 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3782, allocations: 51.81 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3783, allocations: 4 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3783, allocations: 4 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.3783, allocations: 19.92 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.3784, allocations: 27.8 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3785, allocations: 83.72 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 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.0007202/0.3793, allocations: 395.5 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3793, allocations: 15.97 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3794, allocations: 8.844 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.3795, allocations: 180.2 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3795, allocations: 4.375 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3796, allocations: 4.375 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3799, allocations: 113.7 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3799, allocations: 4 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.38, allocations: 3.984 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.38, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.3803, allocations: 99.84 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3809, allocations: 340.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.3816, allocations: 118.5 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.3818, allocations: 60.81 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3819, allocations: 7.984 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3819, allocations: 34.55 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3819, allocations: 0 / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007669/0.3827, allocations: 185.5 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3827, allocations: 51.41 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3829, allocations: 129.8 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.383, allocations: 29.64 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.383, allocations: 92.05 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3831, allocations: 19.73 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3831, allocations: 21.72 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002925/0.3834, allocations: 322.8 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3836, allocations: 47.95 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3838, allocations: 47.95 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.3841, allocations: 100.8 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3842, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004027/0.3846, allocations: 133.5 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3846, allocations: 5.094 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.3846, allocations: 3.938 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3846, allocations: 3.938 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3848, allocations: 23.97 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3848, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3849, allocations: 19.91 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.385, allocations: 8 kB / 1.057 GB, free: 3.961 MB / 0.8106 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,sub.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.832e-05/0.3851, allocations: 115.4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3851, allocations: 3.906 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3851, allocations: 16.36 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3852, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3852, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3852, allocations: 7.938 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3854, allocations: 201.6 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3854, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3856, allocations: 23.97 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3856, allocations: 3.984 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3856, allocations: 0 / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3856, allocations: 3.938 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3856, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.3861, allocations: 239.3 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3863, allocations: 85.02 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3863, allocations: 7.938 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3865, allocations: 11.98 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.3865, allocations: 19.97 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3866, allocations: 11.92 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.3866, allocations: 95.28 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3866, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002374/0.3869, allocations: 15.98 kB / 1.057 GB, free: 3.023 MB / 0.8106 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 (sub.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.0002639/0.3871, allocations: 99.25 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.3876, allocations: 107.8 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3876, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3878, allocations: 60.72 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.3885, allocations: 10.67 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.3891, allocations: 199.9 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3895, allocations: 0.6901 MB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.3896, allocations: 12 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.3897, allocations: 15.42 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/0.3897, allocations: 0 / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.004696/0.3944, allocations: 1.355 MB / 1.06 GB, free: 444 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches