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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009105/0.009105, allocations: 170 kB / 16.26 MB, free: 6.613 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003746, allocations: 9.781 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001001/0.3486, allocations: 0.507 MB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3497, allocations: 0.8663 MB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.3498, allocations: 7.938 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.3498, allocations: 3.938 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.3499, allocations: 3.938 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3501, allocations: 27.97 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3502, allocations: 79.81 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3503, allocations: 27.98 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.3504, allocations: 31.86 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.3505, allocations: 43.81 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3505, allocations: 4 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.3505, allocations: 4 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.3505, allocations: 11.92 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3506, allocations: 53.5 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3507, allocations: 87.69 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3507, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3507, allocations: 4 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3507, allocations: 0 / 1.06 GB, free: 3.102 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.0005632/0.3513, allocations: 387.5 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3514, allocations: 15.97 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.3514, allocations: 46.67 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.3515, allocations: 8.844 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3516, allocations: 172.2 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3516, allocations: 4.375 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3516, allocations: 4.375 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3519, allocations: 121.5 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.352, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.352, allocations: 4 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.352, allocations: 3.984 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.3524, allocations: 119.8 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3529, allocations: 344.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.3535, allocations: 126.5 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3537, allocations: 72.81 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3537, allocations: 3.984 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3537, allocations: 34.56 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.3537, allocations: 3.984 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006771/0.3544, allocations: 213.5 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3545, allocations: 55.34 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.3546, allocations: 125.7 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3546, allocations: 33.64 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3546, allocations: 92.06 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3547, allocations: 27.66 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3547, allocations: 17.72 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.3548, allocations: 318.8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.355, allocations: 55.95 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3552, allocations: 55.95 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.3555, allocations: 124.8 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3556, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004212/0.356, allocations: 149.6 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.356, allocations: 5.562 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.356, allocations: 7.938 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.356, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3562, allocations: 35.97 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3562, allocations: 0 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3563, allocations: 31.81 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3564, allocations: 0 / 1.063 GB, free: 108 kB / 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 0.0001087/0.3565, allocations: 117.8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.3565, allocations: 7.906 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3565, allocations: 12.36 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3565, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3566, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3566, allocations: 3.938 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3568, allocations: 197.5 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3568, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3569, allocations: 31.97 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.357, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.357, allocations: 7.984 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.357, allocations: 3.938 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.357, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3575, allocations: 255.8 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.3575, allocations: 81.11 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3575, allocations: 3.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3577, allocations: 23.98 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.3578, allocations: 23.91 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.3578, allocations: 3.984 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.3578, allocations: 95.72 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3578, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002229/0.3581, allocations: 15.91 kB / 1.064 GB, free: 15.14 MB / 0.8262 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.0007674/0.3588, allocations: 0.7944 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.3593, allocations: 127.9 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3593, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3595, allocations: 79.81 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3598, allocations: 16.27 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3619, allocations: 1.598 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3621, allocations: 0.6887 MB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.3622, allocations: 12 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.3623, allocations: 31.41 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3623, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.3741, allocations: 2.262 MB / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.3743, allocations: 214.5 kB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.211, allocations: 7.938 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > 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