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 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.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.00945/0.00945, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002171/0.002171, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.602/1.602, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.6 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 63.91 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.243, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002594/1.246, allocations: 0.7639 MB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001129/1.247, allocations: 0.8701 MB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/1.247, allocations: 4 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/1.247, allocations: 3.938 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/1.247, allocations: 11.86 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/1.247, allocations: 43.89 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/1.248, allocations: 79.81 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/1.248, allocations: 27.98 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/1.248, allocations: 39.84 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/1.248, allocations: 51.77 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/1.248, allocations: 8 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/1.248, allocations: 8 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/1.248, allocations: 27.89 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/1.248, allocations: 31.86 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/1.248, allocations: 92.14 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.248, allocations: 4 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.984e-06/1.248, allocations: 0 / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.248, allocations: 0 / 1.228 GB, free: 11.45 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.0007748/1.249, allocations: 395.1 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.249, allocations: 12.03 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/1.249, allocations: 8.891 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/1.25, allocations: 176.2 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/1.25, allocations: 8.375 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.25, allocations: 4.375 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/1.25, allocations: 105.5 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.25, allocations: 0 / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.25, allocations: 4 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.25, allocations: 4 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/1.25, allocations: 99.89 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/1.251, allocations: 344.6 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/1.252, allocations: 114.6 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/1.252, allocations: 68.78 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/1.252, allocations: 0 / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.252, allocations: 38.5 kB / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.252, allocations: 3.938 kB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0007277/1.253, allocations: 181.5 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.253, allocations: 63.33 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/1.253, allocations: 133.7 kB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.253, allocations: 25.7 kB / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/1.253, allocations: 100 kB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.253, allocations: 15.86 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/1.253, allocations: 25.7 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.254, allocations: 318.8 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/1.254, allocations: 43.95 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/1.254, allocations: 47.94 kB / 1.23 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/1.254, allocations: 104.7 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.254, allocations: 0 / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003919/1.255, allocations: 137.5 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.255, allocations: 8 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.255, allocations: 0 / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.255, allocations: 0 / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.255, allocations: 27.97 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.255, allocations: 0 / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.255, allocations: 19.86 kB / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/1.255, allocations: 0 / 1.23 GB, free: 8.637 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,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.0001067/1.255, allocations: 121.8 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.255, allocations: 7.953 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/1.255, allocations: 12.38 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/1.255, allocations: 0 / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.255, allocations: 4 kB / 1.23 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.255, allocations: 3.938 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/1.255, allocations: 197.6 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.256, allocations: 4 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/1.256, allocations: 27.91 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.256, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.256, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.256, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.256, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/1.256, allocations: 243.3 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/1.256, allocations: 85.06 kB / 1.231 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/1.256, allocations: 4 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.256, allocations: 15.97 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/1.257, allocations: 19.92 kB / 1.231 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.257, allocations: 15.98 kB / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.022e-05/1.257, allocations: 95.27 kB / 1.231 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.257, allocations: 0 / 1.231 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002275/1.257, allocations: 16 kB / 1.231 GB, free: 7.684 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 (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.0001394/1.257, allocations: 99.23 kB / 1.231 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004364/1.257, allocations: 112.4 kB / 1.231 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.257, allocations: 0 / 1.231 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/1.258, allocations: 59.94 kB / 1.231 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/1.258, allocations: 8 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/1.259, allocations: 190.3 kB / 1.231 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/1.259, allocations: 0.6924 MB / 1.232 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.571e-05/1.259, allocations: 12 kB / 1.232 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/1.259, allocations: 19.42 kB / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.259, allocations: 4 kB / 1.232 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of Templates: time 0.004485/1.264, allocations: 1.582 MB / 1.234 GB, free: 4.863 MB / 0.9512 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