Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001866/0.001866, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002128/0.002128, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.517/1.517, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 443.4 MB / 0.7321 GB, free: 12.4 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 67.88 kB / 1.062 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 160.8 MB / 1.219 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.003145/1.062, allocations: 0.7158 MB / 1.219 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001891/1.063, allocations: 0.8804 MB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/1.063, allocations: 0 / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/1.064, allocations: 3.938 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/1.064, allocations: 9.094 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/1.064, allocations: 23.98 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/1.064, allocations: 45.56 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/1.064, allocations: 15.45 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/1.064, allocations: 18.48 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/1.064, allocations: 16.7 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/1.064, allocations: 3.5 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/1.064, allocations: 3.812 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/1.064, allocations: 13.05 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/1.064, allocations: 15.88 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/1.065, allocations: 46.98 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.065, allocations: 4 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.016e-06/1.065, allocations: 1.219 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.065, allocations: 0 / 1.22 GB, free: 2.344 MB / 0.92 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.0008721/1.066, allocations: 369.9 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.066, allocations: 8.844 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/1.066, allocations: 7.547 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/1.066, allocations: 167 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.066, allocations: 4.375 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/1.066, allocations: 6.5 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/1.066, allocations: 66.97 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/1.066, allocations: 1.5 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.066, allocations: 7.922 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.066, allocations: 1.125 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/1.067, allocations: 62.44 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/1.067, allocations: 267.1 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/1.068, allocations: 59.69 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/1.068, allocations: 39.58 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/1.068, allocations: 0 / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.068, allocations: 35.61 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.068, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0008039/1.069, allocations: 130.9 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/1.069, allocations: 55.34 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/1.069, allocations: 108.3 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/1.069, allocations: 25.7 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/1.069, allocations: 90.69 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/1.069, allocations: 13.16 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/1.069, allocations: 15.94 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002054/1.069, allocations: 311.9 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.07, allocations: 37.83 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/1.07, allocations: 29.88 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/1.07, allocations: 67.25 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.07, allocations: 7.938 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005092/1.071, allocations: 101.2 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.071, allocations: 5.094 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.071, allocations: 5.359 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.071, allocations: 0 / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.071, allocations: 18.25 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.071, allocations: 0.875 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.071, allocations: 15.8 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.071, allocations: 0 / 1.222 GB, free: 384 kB / 0.92 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.0001314/1.071, allocations: 127.3 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/1.071, allocations: 9.625 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/1.071, allocations: 14.17 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/1.071, allocations: 0 / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.071, allocations: 1.094 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.071, allocations: 3.938 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/1.072, allocations: 169.4 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.072, allocations: 0 / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.072, allocations: 15.2 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.072, allocations: 0 / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/1.072, allocations: 7.984 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.072, allocations: 1.062 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.072, allocations: 0 / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/1.072, allocations: 196.8 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/1.072, allocations: 81.84 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.072, allocations: 0.75 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.073, allocations: 19.38 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/1.073, allocations: 1.094 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/1.073, allocations: 1.094 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.211e-05/1.073, allocations: 97.78 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.073, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003571/1.073, allocations: 6.5 kB / 1.223 GB, free: 15.63 MB / 0.9356 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.0001699/1.073, allocations: 93.56 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004428/1.074, allocations: 69.92 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.074, allocations: 5.312 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.074, allocations: 36.2 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/1.074, allocations: 14.31 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/1.075, allocations: 119.8 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/1.075, allocations: 0.6839 MB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.925e-05/1.075, allocations: 10.16 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/1.075, allocations: 13.5 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.075, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.003979/1.079, allocations: 0.7345 MB / 1.225 GB, free: 14.28 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.234814243391156]