Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001828/0.001828, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001499/0.001499, allocations: 211.3 kB / 22.24 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_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.002143/0.002143, allocations: 62.86 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3949, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002037/0.3969, allocations: 0.7003 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.398, allocations: 0.82 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.398, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3981, allocations: 15.8 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.3981, allocations: 7.938 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.378e-05/0.3982, allocations: 15.92 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.3983, allocations: 43.92 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3984, allocations: 13.66 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.3985, allocations: 19.92 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.3985, allocations: 15.92 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3985, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3986, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.3986, allocations: 8 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3986, allocations: 15.92 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.697e-05/0.3987, allocations: 47.31 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3987, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3987, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3987, allocations: 4 kB / 1.284 GB, free: 10.68 MB / 0.9825 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.0005392/0.3993, allocations: 286.2 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3993, allocations: 8.031 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3993, allocations: 38.69 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.3994, allocations: 8.891 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3995, allocations: 114.4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3995, allocations: 384 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3995, allocations: 384 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.3998, allocations: 74.22 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3998, allocations: 3.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3998, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3998, allocations: 3.984 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.4001, allocations: 59.94 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.4005, allocations: 239.9 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.4007, allocations: 50.55 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4008, allocations: 44.91 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4009, allocations: 0 / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.4009, allocations: 34.56 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.4009, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005468/0.4014, allocations: 137.5 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4015, allocations: 51.41 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4016, allocations: 109.8 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.4016, allocations: 25.7 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4017, allocations: 84.14 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4017, allocations: 3.953 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.4017, allocations: 17.72 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4019, allocations: 318.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.402, allocations: 31.97 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4022, allocations: 40.02 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.4024, allocations: 76.75 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4024, allocations: 3.984 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.4028, allocations: 101.6 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4028, allocations: 4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4028, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4028, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4029, allocations: 11.98 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4029, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.403, allocations: 19.98 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.403, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 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.539e-05/0.4031, allocations: 117.8 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.4031, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4032, allocations: 16 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4032, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4032, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4032, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.4033, allocations: 136.6 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4033, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4034, allocations: 31.91 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4034, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4035, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4035, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4035, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.4038, allocations: 191.4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.4039, allocations: 7.938 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4039, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.404, allocations: 19.97 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.404, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.404, allocations: 4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.4041, allocations: 87.58 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4041, allocations: 0 / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.4043, allocations: 11.95 kB / 1.287 GB, free: 7.828 MB / 0.9825 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.0007296/0.405, allocations: 0.728 MB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4054, allocations: 67.92 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4054, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4055, allocations: 43.84 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4059, allocations: 16.16 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.4063, allocations: 143.2 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.4064, allocations: 63.34 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.4064, allocations: 3.984 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4065, allocations: 19.77 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.4065, allocations: 4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.4411, allocations: 2.193 MB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.69, allocations: 12.92 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.73924832092598]