Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001936/0.001936, allocations: 116 kB / 19.73 MB, free: 2.094 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.003392/0.003392, allocations: 210.4 kB / 23.04 MB, free: 4.438 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.28/3.28, allocations: 0.5003 GB / 0.8061 GB, free: 26.69 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.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",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.001999/0.001999, allocations: 60.59 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002058/0.3898, allocations: 0.7093 MB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.391, allocations: 0.8281 MB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.391, allocations: 0 / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.3911, allocations: 3.938 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.438e-05/0.3912, allocations: 7.875 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.974e-05/0.3912, allocations: 19.92 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3913, allocations: 43.91 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3914, allocations: 7.984 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.3915, allocations: 19.92 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.3916, allocations: 23.92 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3916, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.3916, allocations: 4 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.3916, allocations: 11.92 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3917, allocations: 19.88 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3918, allocations: 40.09 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3918, allocations: 0 / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3918, allocations: 0 / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3918, allocations: 0 / 1.347 GB, free: 14.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000552/0.3923, allocations: 295.8 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3924, allocations: 8.031 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.3924, allocations: 8.125 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.3924, allocations: 30.75 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.3925, allocations: 0.9375 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3926, allocations: 118.4 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3926, allocations: 4.375 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3926, allocations: 4.375 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3929, allocations: 73.95 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3929, allocations: 0 / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3929, allocations: 4 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3929, allocations: 4 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.3932, allocations: 63.86 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3936, allocations: 240 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3938, allocations: 54.53 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3939, allocations: 48.84 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3939, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.394, allocations: 38.56 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.394, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005233/0.3945, allocations: 125.5 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3945, allocations: 51.41 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.3946, allocations: 117.8 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3946, allocations: 25.7 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.3947, allocations: 88.12 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3947, allocations: 11.91 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.3947, allocations: 13.72 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3949, allocations: 322.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.395, allocations: 31.97 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3952, allocations: 27.97 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.3954, allocations: 76.98 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3954, allocations: 4 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003204/0.3958, allocations: 97.62 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3958, allocations: 4 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3958, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3958, allocations: 3.984 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3959, allocations: 15.98 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3959, allocations: 3.938 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.396, allocations: 11.98 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.396, allocations: 4 kB / 1.349 GB, free: 12.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.393e-05/0.3961, allocations: 117.8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3961, allocations: 3.953 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.3961, allocations: 11.98 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3961, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3962, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3962, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3963, allocations: 140.6 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3963, allocations: 3.938 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3964, allocations: 19.98 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3964, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3965, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3965, allocations: 3.984 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3965, allocations: 3.938 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.3968, allocations: 191.4 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.3969, allocations: 7.953 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3969, allocations: 4 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.397, allocations: 7.984 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.397, allocations: 7.984 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.397, allocations: 0 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.3971, allocations: 91.27 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 0 / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002102/0.3973, allocations: 8 kB / 1.35 GB, free: 11.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007005/0.398, allocations: 0.7202 MB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.3983, allocations: 75.91 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3983, allocations: 4 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3985, allocations: 35.91 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3988, allocations: 4 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3992, allocations: 159.2 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3996, allocations: 0.6844 MB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.3996, allocations: 0 / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.3996, allocations: 19.42 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3996, allocations: 0 / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.4221, allocations: 1.771 MB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 1.891 kB / 1.353 GB, free: 8.316 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.78765796101652]