Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001883/0.001883, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.00224/0.00224, allocations: 219 kB / 22.26 MB, free: 5.125 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_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.001955/0.001955, allocations: 67.06 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3666, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0026/0.3692, allocations: 0.7886 MB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3706, allocations: 0.8977 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.3707, allocations: 3.938 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.3707, allocations: 11.88 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3708, allocations: 11.88 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3711, allocations: 35.94 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3713, allocations: 87.77 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3714, allocations: 19.98 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3715, allocations: 39.89 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3716, allocations: 43.84 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.3717, allocations: 8.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.3717, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.3717, allocations: 27.84 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3718, allocations: 39.8 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.372, allocations: 87.89 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.372, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.372, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.372, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 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.0007579/0.3727, allocations: 322 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3728, allocations: 12.03 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.853e-05/0.3729, allocations: 34.73 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.3729, allocations: 16.89 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3731, allocations: 114.4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3731, allocations: 4.375 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3731, allocations: 12.12 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3735, allocations: 109.5 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3735, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3735, allocations: 3.984 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3735, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.3739, allocations: 99.91 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.3745, allocations: 311.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.3752, allocations: 126.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.3754, allocations: 52.81 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3754, allocations: 3.984 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3754, allocations: 34.56 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3754, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006944/0.3761, allocations: 189.4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.3762, allocations: 51.41 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3763, allocations: 125.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.3763, allocations: 25.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.3764, allocations: 96.09 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3764, allocations: 23.83 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3765, allocations: 21.7 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3767, allocations: 318.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3769, allocations: 47.89 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.377, allocations: 44.27 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3774, allocations: 104.9 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3774, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004225/0.3778, allocations: 141.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3778, allocations: 5.875 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3779, allocations: 15.92 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3779, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3781, allocations: 23.97 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3781, allocations: 3.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3782, allocations: 15.94 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3782, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 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.0001377/0.3784, allocations: 118.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3784, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.3784, allocations: 16.36 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3784, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3784, allocations: 3.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3784, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3787, allocations: 168.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3787, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3789, allocations: 27.91 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3789, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3789, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3789, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3789, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.3795, allocations: 235.4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.3795, allocations: 7.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3795, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3797, allocations: 15.98 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3798, allocations: 23.91 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3798, allocations: 7.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.3799, allocations: 95.27 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3799, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000246/0.3801, allocations: 19.89 kB / 1.331 GB, free: 12.36 MB / 1.029 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.0009671/0.3811, allocations: 0.7632 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.3816, allocations: 107.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3816, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.3818, allocations: 55.94 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3822, allocations: 19.88 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3847, allocations: 1.538 MB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3851, allocations: 0.6923 MB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.3851, allocations: 12 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.3852, allocations: 31.41 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3852, allocations: 0 / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4186, allocations: 2.859 MB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 4.641 kB / 1.337 GB, free: 6.297 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.798837859882042]