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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 208.9 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.314/3.314, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.7 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 180.2 MB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00264/0.3678, allocations: 0.79 MB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3692, allocations: 0.8938 MB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.3693, allocations: 4 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.3693, allocations: 7.922 kB / 1.355 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3694, allocations: 7.875 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3696, allocations: 43.94 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3698, allocations: 79.83 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3699, allocations: 24.25 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.37, allocations: 39.86 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3701, allocations: 47.81 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3702, allocations: 8 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.3702, allocations: 8 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.3702, allocations: 23.86 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.3703, allocations: 39.8 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3704, allocations: 83.66 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3705, allocations: 0 / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3705, allocations: 4 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3705, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 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.0007047/0.3712, allocations: 328 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3712, allocations: 8.031 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.3713, allocations: 34.75 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3713, allocations: 8.891 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3714, allocations: 130.3 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3715, allocations: 12.38 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3715, allocations: 8.125 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3718, allocations: 101.6 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3718, allocations: 0 / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3718, allocations: 7.938 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3718, allocations: 4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.3722, allocations: 99.89 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3728, allocations: 307.7 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.3734, allocations: 114.5 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3736, allocations: 60.88 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3737, allocations: 3.984 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3737, allocations: 42.44 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3737, allocations: 0 / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006686/0.3744, allocations: 181.5 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3744, allocations: 55.41 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3745, allocations: 121.8 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3746, allocations: 29.7 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.3746, allocations: 96.08 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3747, allocations: 19.8 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.3747, allocations: 25.7 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3749, allocations: 322.8 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3751, allocations: 43.95 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3752, allocations: 44.27 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3756, allocations: 112.8 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3756, allocations: 0 / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004282/0.376, allocations: 129.5 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.376, allocations: 9.406 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.376, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.376, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3762, allocations: 31.97 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.3762, allocations: 3.938 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3764, allocations: 15.97 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3764, allocations: 0 / 1.357 GB, free: 3.758 MB / 1.045 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.0001064/0.3765, allocations: 125.7 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3765, allocations: 7.953 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3765, allocations: 12.38 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3765, allocations: 0 / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3765, allocations: 7.938 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3765, allocations: 3.984 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3768, allocations: 164.7 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3768, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3769, allocations: 27.97 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3769, allocations: 0 / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3769, allocations: 3.984 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3769, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3769, allocations: 3.938 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.3774, allocations: 239.3 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3774, allocations: 15.89 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3775, allocations: 4 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3776, allocations: 11.98 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3777, allocations: 27.91 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3777, allocations: 4 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.3778, allocations: 95.64 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3778, allocations: 7.938 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002608/0.378, allocations: 16 kB / 1.358 GB, free: 2.926 MB / 1.045 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.0008958/0.3789, allocations: 0.7735 MB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.3793, allocations: 99.89 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3793, allocations: 0 / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.3796, allocations: 71.88 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3799, allocations: 11.94 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3823, allocations: 1.525 MB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3827, allocations: 0.6885 MB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.794e-05/0.3827, allocations: 12 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.3828, allocations: 27.42 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of SimCode: time 8.91e-07/0.3828, allocations: 3.938 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.4193, allocations: 2.845 MB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 15.27 kB / 1.364 GB, free: 12.86 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.522274325834587]