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.00122/0.00122, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001241/0.001241, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.668/2.668, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 73.02 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.714, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001951/0.716, allocations: 0.7744 MB / 1.084 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.7169, allocations: 0.8587 MB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.7169, allocations: 0.9062 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.717, allocations: 9.938 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.717, allocations: 17.19 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.7172, allocations: 38.06 kB / 1.085 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.7173, allocations: 82.94 kB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7174, allocations: 21.94 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.7175, allocations: 47.61 kB / 1.085 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.7176, allocations: 45.25 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.7176, allocations: 8.031 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.7177, allocations: 7.469 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.7177, allocations: 23.97 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.7177, allocations: 34.72 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.7179, allocations: 86.2 kB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7179, allocations: 0.5312 kB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7179, allocations: 0 / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.7179, allocations: 1.219 kB / 1.085 GB, free: 300 kB / 0.8262 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.0005683/0.7185, allocations: 396.9 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7185, allocations: 13.42 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.7185, allocations: 8.812 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.7187, allocations: 175.4 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.7187, allocations: 7.906 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.7188, allocations: 3.188 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.7191, allocations: 105.1 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7191, allocations: 4 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7191, allocations: 5.344 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7191, allocations: 1.375 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.7195, allocations: 101.8 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.7201, allocations: 346.3 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.7207, allocations: 121.5 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.7209, allocations: 64.14 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.7209, allocations: 0 / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.721, allocations: 31.94 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.721, allocations: 0 / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006742/0.7216, allocations: 185.9 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.7217, allocations: 53.52 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.7218, allocations: 127.1 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.7218, allocations: 25.7 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.7219, allocations: 97.62 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.7219, allocations: 20.8 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.722, allocations: 23.75 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7221, allocations: 326.2 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.7223, allocations: 43.92 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.7225, allocations: 45.59 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.7229, allocations: 95.53 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7229, allocations: 4.562 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004262/0.7233, allocations: 133.8 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7233, allocations: 5.875 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.7233, allocations: 1.25 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.7234, allocations: 3.938 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.7235, allocations: 31.8 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7235, allocations: 5.25 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.7237, allocations: 15.97 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.7237, allocations: 3.25 kB / 1.087 GB, free: 14.34 MB / 0.8419 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.000101/0.7238, allocations: 117.4 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.7238, allocations: 6.344 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.7239, allocations: 10.48 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7239, allocations: 1.828 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7239, allocations: 0 / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7239, allocations: 9.688 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.7241, allocations: 202.6 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7241, allocations: 0 / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.7243, allocations: 27.23 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7243, allocations: 5.906 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.7243, allocations: 1.703 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7243, allocations: 4.547 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7243, allocations: 1.125 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.7248, allocations: 234.3 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.7249, allocations: 84.31 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.7249, allocations: 5.859 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.725, allocations: 10.69 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.7251, allocations: 21.14 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.7251, allocations: 11.73 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.7252, allocations: 97.08 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7252, allocations: 0.9688 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002258/0.7254, allocations: 19.81 kB / 1.088 GB, free: 13.61 MB / 0.8419 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.0001172/0.7256, allocations: 97.22 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.726, allocations: 116.8 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.726, allocations: 0 / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.7262, allocations: 58.41 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.7265, allocations: 11.94 kB / 1.089 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.727, allocations: 207.9 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.7273, allocations: 0.6908 MB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.7274, allocations: 19.09 kB / 1.089 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.7274, allocations: 0 / 1.089 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.002801/0.7302, allocations: 1.239 MB / 1.091 GB, free: 12.5 MB / 0.8419 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=400 -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/jenkins1/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