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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_10_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.0008634/0.0008632, allocations: 90.52 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.007642/0.007642, allocations: 171.7 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.314/2.314, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 0.873 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5492, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.000872/0.5502, allocations: 0.4969 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.551, allocations: 0.8585 MB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.5511, allocations: 7.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.5511, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.5512, allocations: 7.938 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.5513, allocations: 35.97 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.5514, allocations: 75.88 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.5515, allocations: 27.97 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.5516, allocations: 35.78 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.5517, allocations: 43.83 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.5517, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.5517, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.5518, allocations: 15.92 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.5518, allocations: 61.48 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.5519, allocations: 75.7 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5519, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5519, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.5519, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 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.0005326/0.5525, allocations: 385.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5525, allocations: 8.031 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.5526, allocations: 42.73 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.5526, allocations: 4.844 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5527, allocations: 180.2 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5527, allocations: 384 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.5528, allocations: 8.375 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.5531, allocations: 125.5 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.5531, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5531, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5531, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.5535, allocations: 119.9 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.554, allocations: 348.5 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.5545, allocations: 138.6 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.5548, allocations: 68.81 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.5548, allocations: 7.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.5548, allocations: 34.56 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5548, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006501/0.5555, allocations: 213.5 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5555, allocations: 55.41 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.5556, allocations: 129.7 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5556, allocations: 29.64 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.5557, allocations: 99.97 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.5557, allocations: 23.66 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5557, allocations: 17.7 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.5558, allocations: 314.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.556, allocations: 55.95 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5562, allocations: 63.88 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.5566, allocations: 120.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5566, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004004/0.557, allocations: 153.6 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.557, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.557, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.557, allocations: 3.984 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5572, allocations: 31.97 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.5572, allocations: 3.938 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.5573, allocations: 27.83 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.5573, allocations: 4 kB / 1.028 GB, free: 11.05 MB / 0.7794 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 7.595e-05/0.5574, allocations: 114.4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.5574, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.5575, allocations: 12.36 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5575, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5575, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5575, allocations: 3.938 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.5577, allocations: 205.5 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5577, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.5579, allocations: 31.97 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.5579, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.5579, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5579, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5579, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.5583, allocations: 267.3 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.5584, allocations: 85.02 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5584, allocations: 3.938 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5585, allocations: 15.98 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.5586, allocations: 27.91 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.5586, allocations: 3.984 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.5587, allocations: 95.27 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5587, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002128/0.5589, allocations: 19.94 kB / 1.028 GB, free: 10.08 MB / 0.7794 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.0007037/0.5596, allocations: 0.791 MB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.56, allocations: 128 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5601, allocations: 3.938 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.5603, allocations: 83.88 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5605, allocations: 16.19 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.5624, allocations: 1.59 MB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5626, allocations: 0.6887 MB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.5627, allocations: 15.98 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.5628, allocations: 23.42 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5628, allocations: 0 / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/0.7168, allocations: 2.26 MB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.7171, allocations: 212.1 kB / 1.034 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.438, allocations: 3.938 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches