Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001844/0.001844, 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.002502/0.002502, allocations: 212.9 kB / 22.25 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.781 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.299/3.299, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",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.002686/0.002686, allocations: 63.28 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.392, allocations: 181.9 MB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002029/0.394, allocations: 0.6944 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3953, allocations: 0.8904 MB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.3954, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3954, allocations: 7.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.3955, allocations: 7.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3957, allocations: 15.92 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3958, allocations: 51.89 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3959, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.396, allocations: 23.92 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.3961, allocations: 15.92 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3961, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.3961, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.3961, allocations: 11.92 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.3962, allocations: 11.94 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3963, allocations: 44.08 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3963, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3963, allocations: 4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3963, allocations: 3.984 kB / 1.365 GB, free: 12.18 MB / 1.061 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.0005787/0.3969, allocations: 286.2 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3969, allocations: 12.03 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.3969, allocations: 34.69 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.397, allocations: 8.891 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3971, allocations: 106.5 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3971, allocations: 8.359 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3971, allocations: 4.375 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3974, allocations: 74.2 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3974, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3975, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3975, allocations: 3.938 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3978, allocations: 67.86 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.3982, allocations: 232 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3984, allocations: 58.53 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3986, allocations: 32.92 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3986, allocations: 4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3986, allocations: 30.56 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3986, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005736/0.3992, allocations: 133.5 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.3993, allocations: 51.41 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.3994, allocations: 109.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3994, allocations: 25.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3994, allocations: 88.09 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3995, allocations: 11.94 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3995, allocations: 17.72 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3997, allocations: 314.8 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3998, allocations: 31.95 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3999, allocations: 31.97 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.4002, allocations: 72.66 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4002, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003217/0.4006, allocations: 97.62 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4006, allocations: 8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4006, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4006, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.4007, allocations: 23.97 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4007, allocations: 4.312 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.4008, allocations: 11.94 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4008, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 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.458e-05/0.4009, allocations: 109.8 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4009, allocations: 4 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.401, allocations: 8 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.401, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.401, allocations: 3.984 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.401, allocations: 8.266 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4012, allocations: 144.5 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4012, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.4013, allocations: 19.92 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4013, allocations: 3.984 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4013, allocations: 4 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4013, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4013, allocations: 3.984 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.4017, allocations: 199.4 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.4017, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4017, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4019, allocations: 11.98 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.4019, allocations: 3.984 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.4019, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.402, allocations: 91.27 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.402, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002351/0.4022, allocations: 11.94 kB / 1.368 GB, free: 9.309 MB / 1.061 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.0007896/0.403, allocations: 0.7241 MB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.4033, allocations: 67.91 kB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4033, allocations: 0 / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.4035, allocations: 43.91 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4038, allocations: 8 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.4043, allocations: 151.2 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.4044, allocations: 63.34 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.4044, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.4045, allocations: 23.42 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4045, allocations: 0 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.4354, allocations: 2.238 MB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.89, allocations: 4.438 kB / 1.371 GB, free: 6.043 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.820887597743422]