Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.093, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002249/1.095, allocations: 0.7836 MB / 1.219 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001225/1.096, allocations: 0.8728 MB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/1.096, allocations: 2.375 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/1.096, allocations: 7.875 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/1.096, allocations: 8.969 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/1.096, allocations: 38.59 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/1.097, allocations: 86.23 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/1.097, allocations: 23.08 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/1.097, allocations: 42.03 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/1.097, allocations: 49.08 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/1.097, allocations: 11.59 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/1.097, allocations: 8.312 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/1.097, allocations: 22.06 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/1.097, allocations: 30.98 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/1.097, allocations: 97.52 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.097, allocations: 0 / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/1.097, allocations: 1.125 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.097, allocations: 0 / 1.221 GB, free: 2.094 MB / 0.92 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.0006874/1.098, allocations: 399.3 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.098, allocations: 9.375 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/1.098, allocations: 8.953 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/1.098, allocations: 176.5 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/1.098, allocations: 3.375 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/1.098, allocations: 8.531 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/1.099, allocations: 108.2 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/1.099, allocations: 3.938 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.099, allocations: 5.312 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.099, allocations: 1.344 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/1.099, allocations: 95.59 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/1.1, allocations: 339.2 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/1.1, allocations: 123.1 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/1.1, allocations: 52.56 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/1.1, allocations: 4 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.1, allocations: 35.62 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.1, allocations: 9.031 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006847/1.101, allocations: 187.3 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.101, allocations: 52.56 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.101, allocations: 125.7 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.101, allocations: 30.8 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/1.101, allocations: 99.12 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/1.101, allocations: 17.94 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/1.101, allocations: 20.19 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.102, allocations: 321.2 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/1.102, allocations: 43.64 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/1.102, allocations: 47.8 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/1.102, allocations: 97.97 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.102, allocations: 1.125 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003971/1.103, allocations: 139.8 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.103, allocations: 4.938 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.103, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.103, allocations: 5.125 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/1.103, allocations: 24.5 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.103, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/1.103, allocations: 22.97 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/1.103, allocations: 6.188 kB / 1.223 GB, free: 15.85 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,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 0.0001147/1.103, allocations: 126 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/1.103, allocations: 7.203 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/1.103, allocations: 13.36 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.103, allocations: 1.219 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.103, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.103, allocations: 5 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/1.103, allocations: 195.6 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.103, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/1.104, allocations: 31.34 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.104, allocations: 13 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.104, allocations: 1.156 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.104, allocations: 1.031 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.104, allocations: 0.5469 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/1.104, allocations: 239.1 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/1.104, allocations: 87.28 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/1.104, allocations: 1.062 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.104, allocations: 11.48 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/1.104, allocations: 25.06 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.104, allocations: 5.953 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.513e-05/1.104, allocations: 97.73 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 3.938 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002306/1.105, allocations: 11.69 kB / 1.224 GB, free: 15.04 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 (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.0001345/1.105, allocations: 102.4 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004179/1.105, allocations: 104.3 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.105, allocations: 1.125 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.105, allocations: 65.22 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.106, allocations: 8.156 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/1.106, allocations: 183 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.107, allocations: 0.6942 MB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.268e-05/1.107, allocations: 9.906 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/1.107, allocations: 22.36 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.107, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.005183/1.112, allocations: 1.632 MB / 1.227 GB, free: 13.15 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.792171316221356]