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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001775, allocations: 113.3 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 489.3 MB / 0.7687 GB, free: 3.738 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002006/1.178, allocations: 0.7092 MB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001175/1.179, allocations: 0.8659 MB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/1.179, allocations: 0.8438 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/1.179, allocations: 0.75 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/1.179, allocations: 18.17 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/1.18, allocations: 20.08 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.984e-05/1.18, allocations: 43.23 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/1.18, allocations: 7.453 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/1.18, allocations: 25.62 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/1.18, allocations: 18.67 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/1.18, allocations: 3.375 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/1.18, allocations: 4.062 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/1.18, allocations: 11.5 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/1.18, allocations: 17.7 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/1.18, allocations: 47.34 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.18, allocations: 0 / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.18, allocations: 0.875 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.18, allocations: 0 / 1.264 GB, free: 6.789 MB / 0.9981 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.0005307/1.181, allocations: 360.2 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.181, allocations: 8.906 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/1.181, allocations: 8.062 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/1.181, allocations: 168 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.181, allocations: 10.12 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.181, allocations: 2.031 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/1.181, allocations: 76.45 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.181, allocations: 0.9062 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.181, allocations: 3.938 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.181, allocations: 0.9375 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/1.182, allocations: 67.06 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/1.182, allocations: 258.2 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.182, allocations: 63.12 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.182, allocations: 41.25 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.182, allocations: 0.6875 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.182, allocations: 32.78 kB / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/1.182, allocations: 0 / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006274/1.183, allocations: 132.6 kB / 1.266 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.183, allocations: 52.09 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/1.183, allocations: 111.9 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/1.183, allocations: 26.55 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/1.183, allocations: 91.09 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/1.183, allocations: 9.688 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/1.183, allocations: 21.11 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.183, allocations: 318.8 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.184, allocations: 30.14 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.184, allocations: 31.27 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/1.184, allocations: 70.47 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.184, allocations: 9.078 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003495/1.184, allocations: 98.11 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.184, allocations: 5.188 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.185, allocations: 0.6094 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.185, allocations: 0.8438 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.185, allocations: 23.97 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.185, allocations: 4 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/1.185, allocations: 12.03 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.185, allocations: 1.5 kB / 1.266 GB, free: 5.008 MB / 0.9981 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 5.777e-05/1.185, allocations: 117.9 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/1.185, allocations: 1.359 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/1.185, allocations: 9.984 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.185, allocations: 4.734 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.185, allocations: 0.8438 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.185, allocations: 7.938 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/1.185, allocations: 171.8 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.185, allocations: 0 / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.185, allocations: 15.78 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.185, allocations: 0 / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/1.185, allocations: 4.938 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.185, allocations: 1.484 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.185, allocations: 0 / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/1.186, allocations: 202.1 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/1.186, allocations: 79.39 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.186, allocations: 1.734 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.186, allocations: 15.19 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.186, allocations: 4.297 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.186, allocations: 4.875 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.917e-05/1.186, allocations: 88.5 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.186, allocations: 0 / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002468/1.186, allocations: 6.344 kB / 1.267 GB, free: 4.324 MB / 0.9981 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.0001582/1.186, allocations: 98.23 kB / 1.267 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00039/1.187, allocations: 70.78 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.187, allocations: 0.7812 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/1.187, allocations: 38.31 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/1.187, allocations: 14.16 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/1.188, allocations: 152 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/1.188, allocations: 0.684 MB / 1.268 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/1.188, allocations: 13.59 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.188, allocations: 0.7188 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.002879/1.191, allocations: 0.7481 MB / 1.269 GB, free: 3.301 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 800] 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_2/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: 11.708348671905696]