Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001387/0.001387, allocations: 110.6 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.001899/0.001899, allocations: 220.3 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.98 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.296/3.296, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002869/0.002869, allocations: 66.45 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3783, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002002/0.3803, allocations: 0.7189 MB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3814, allocations: 0.8358 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.3814, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.3815, allocations: 3.938 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.3815, allocations: 7.938 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.638e-05/0.3816, allocations: 19.92 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.3817, allocations: 39.91 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3818, allocations: 8 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.3819, allocations: 19.92 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.3819, allocations: 19.92 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3819, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.3819, allocations: 4 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.382, allocations: 11.97 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.382, allocations: 23.81 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3821, allocations: 40.09 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3821, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3821, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3821, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 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.000544/0.3827, allocations: 286.2 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3827, allocations: 12.03 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.3828, allocations: 34.75 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.3828, allocations: 0.9375 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3829, allocations: 114.4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3829, allocations: 4.375 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3829, allocations: 4.375 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3832, allocations: 70.2 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3832, allocations: 7.875 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.3832, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3832, allocations: 4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3835, allocations: 63.92 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3839, allocations: 243.9 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3841, allocations: 50.53 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3842, allocations: 48.91 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3843, allocations: 7.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3843, allocations: 34.5 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3843, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.3848, allocations: 129.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3849, allocations: 51.41 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.385, allocations: 109.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.385, allocations: 29.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.3851, allocations: 84.12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3851, allocations: 7.953 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.3852, allocations: 13.72 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3853, allocations: 318.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3855, allocations: 39.91 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3856, allocations: 23.97 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.3859, allocations: 76.72 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3859, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.3862, allocations: 97.58 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3862, allocations: 5.875 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3862, allocations: 320 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3862, allocations: 3.984 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3864, allocations: 15.98 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3864, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.3865, allocations: 11.98 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3865, allocations: 8.25 kB / 1.33 GB, free: 14 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: 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 0.0001004/0.3866, allocations: 118.3 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3866, allocations: 3.953 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.3866, allocations: 7.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3866, allocations: 3.984 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3866, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3866, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3868, allocations: 148.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3868, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.3869, allocations: 11.98 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3869, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3869, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3869, allocations: 3.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3869, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3873, allocations: 195.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.3873, allocations: 11.83 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3873, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3874, allocations: 11.92 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3875, allocations: 11.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3875, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.3875, allocations: 91.27 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002206/0.3878, allocations: 8 kB / 1.33 GB, free: 13.29 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: 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.0007281/0.3885, allocations: 0.7202 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3888, allocations: 75.84 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3888, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.389, allocations: 35.97 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3893, allocations: 5.203 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3898, allocations: 151.2 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3902, allocations: 0.6807 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.3902, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.3903, allocations: 19.42 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3903, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.4204, allocations: 1.738 MB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.66, allocations: 11.97 kB / 1.334 GB, free: 9.906 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.66036372212693]