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.002307/0.002307, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.001698/0.001698, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.486/1.486, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7171 GB, free: 4.066 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 75.89 kB / 1.027 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8692, allocations: 151.6 MB / 1.175 GB, free: 17.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00178/0.871, allocations: 0.7828 MB / 1.175 GB, free: 17.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.8719, allocations: 0.8632 MB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.872, allocations: 1.25 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.872, allocations: 9.141 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.8721, allocations: 9.938 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.8723, allocations: 38.02 kB / 1.176 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.8724, allocations: 90.67 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.8725, allocations: 26.41 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.8726, allocations: 35.81 kB / 1.177 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.8727, allocations: 52.81 kB / 1.177 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.8727, allocations: 8.719 kB / 1.177 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.8728, allocations: 7.594 kB / 1.177 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.8728, allocations: 23.67 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.8728, allocations: 31.83 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.873, allocations: 88.22 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.873, allocations: 4 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.873, allocations: 0 / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.873, allocations: 0 / 1.177 GB, free: 16.15 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.0005427/0.8736, allocations: 396 kB / 1.177 GB, free: 15.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8736, allocations: 10.61 kB / 1.177 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.8736, allocations: 40.91 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.8737, allocations: 9.516 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8738, allocations: 179.6 kB / 1.177 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.8738, allocations: 11.22 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.8738, allocations: 8.062 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.8741, allocations: 106.4 kB / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8742, allocations: 0 / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.8742, allocations: 5.906 kB / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8742, allocations: 1.375 kB / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.8746, allocations: 100.9 kB / 1.178 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.8751, allocations: 341.7 kB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.8757, allocations: 121.8 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.876, allocations: 62.84 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.876, allocations: 3.984 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.876, allocations: 36.41 kB / 1.178 GB, free: 14.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.876, allocations: 5.312 kB / 1.178 GB, free: 14.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007072/0.8767, allocations: 181.7 kB / 1.178 GB, free: 14.92 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.8768, allocations: 56.84 kB / 1.178 GB, free: 14.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.8768, allocations: 123.3 kB / 1.178 GB, free: 14.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.8769, allocations: 25.7 kB / 1.178 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.8769, allocations: 98.25 kB / 1.179 GB, free: 14.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.8769, allocations: 20.41 kB / 1.179 GB, free: 14.61 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.877, allocations: 23.44 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.877, allocations: 318.7 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.8772, allocations: 43.86 kB / 1.179 GB, free: 14.26 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.8774, allocations: 44.88 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.8778, allocations: 104.6 kB / 1.179 GB, free: 14.22 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8778, allocations: 0 / 1.179 GB, free: 14.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004232/0.8782, allocations: 138.2 kB / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8782, allocations: 9.766 kB / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8783, allocations: 0 / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.8783, allocations: 1.438 kB / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.8784, allocations: 27.88 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8785, allocations: 4.484 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.8786, allocations: 17.31 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.8786, allocations: 2.641 kB / 1.179 GB, free: 14.14 MB / 0.92 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 6.671e-05/0.8787, allocations: 114.9 kB / 1.179 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.8787, allocations: 11.08 kB / 1.179 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.8787, allocations: 15.31 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.8787, allocations: 1.031 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8788, allocations: 4.641 kB / 1.179 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8788, allocations: 0 / 1.179 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8789, allocations: 194.6 kB / 1.18 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.879, allocations: 1.094 kB / 1.18 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.8791, allocations: 32.09 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.8791, allocations: 0.5625 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.8791, allocations: 6.391 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8791, allocations: 1.25 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8792, allocations: 7.938 kB / 1.18 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.8796, allocations: 235.6 kB / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.8796, allocations: 87.17 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8796, allocations: 5.312 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.8798, allocations: 11.83 kB / 1.18 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.8799, allocations: 24.97 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.8799, allocations: 8.016 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.8799, allocations: 92.19 kB / 1.18 GB, free: 13.42 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8799, allocations: 0 / 1.18 GB, free: 13.42 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002245/0.8802, allocations: 16.22 kB / 1.18 GB, free: 13.42 MB / 0.92 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.00063/0.8808, allocations: 0.7746 MB / 1.181 GB, free: 12.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.8812, allocations: 107.5 kB / 1.181 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8812, allocations: 0 / 1.181 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.8815, allocations: 64.91 kB / 1.181 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.8818, allocations: 16.91 kB / 1.181 GB, free: 12.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.8839, allocations: 1.533 MB / 1.183 GB, free: 11.39 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.884, allocations: 0.6901 MB / 1.183 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.936e-05/0.8841, allocations: 12.02 kB / 1.183 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.8842, allocations: 31.16 kB / 1.183 GB, free: 10.68 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/0.8842, allocations: 0 / 1.183 GB, free: 10.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.9095, allocations: 2.703 MB / 1.186 GB, free: 10.23 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/9.075, allocations: 9.734 kB / 1.186 GB, free: 10.22 MB / 0.92 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/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: 15.0793944359757]