Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001299/0.001299, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001289/0.001289, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.584/1.584, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001992/1.196, allocations: 0.7236 MB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001019/1.197, allocations: 0.8729 MB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/1.197, allocations: 0.75 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/1.197, allocations: 4.5 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/1.197, allocations: 10.14 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/1.197, allocations: 16.25 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/1.198, allocations: 51.97 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/1.198, allocations: 9.391 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/1.198, allocations: 12.75 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/1.198, allocations: 22.62 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/1.198, allocations: 3.812 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/1.198, allocations: 4.219 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/1.198, allocations: 10.69 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/1.198, allocations: 13.94 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/1.198, allocations: 50.72 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.198, allocations: 0.9688 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.198, allocations: 0 / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.198, allocations: 0 / 1.274 GB, free: 6.695 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.0005097/1.199, allocations: 363.8 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.199, allocations: 10.98 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/1.199, allocations: 6.609 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.199, allocations: 164.4 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.199, allocations: 6.281 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.199, allocations: 6.094 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/1.199, allocations: 74.55 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.199, allocations: 1 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.199, allocations: 3.938 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.199, allocations: 0.75 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/1.199, allocations: 64.73 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/1.2, allocations: 265.9 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.2, allocations: 62.58 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/1.2, allocations: 42.3 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/1.2, allocations: 0 / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.2, allocations: 31.59 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/1.2, allocations: 1.188 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005253/1.201, allocations: 127.9 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/1.201, allocations: 52.5 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/1.201, allocations: 114.2 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/1.201, allocations: 25.7 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/1.201, allocations: 90 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/1.201, allocations: 9.766 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/1.201, allocations: 15.91 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.201, allocations: 315 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/1.201, allocations: 35.59 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/1.201, allocations: 30.42 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.201, allocations: 66.89 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.201, allocations: 7.938 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/1.202, allocations: 99.36 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.202, allocations: 5.469 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.202, allocations: 3.938 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.202, allocations: 1.359 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.202, allocations: 22.34 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.202, allocations: 7.703 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/1.202, allocations: 13.44 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.202, allocations: 1.031 kB / 1.276 GB, free: 4.914 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 6.399e-05/1.202, allocations: 113.1 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/1.202, allocations: 1.531 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/1.202, allocations: 12.5 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.202, allocations: 0 / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.202, allocations: 0.625 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.202, allocations: 4.812 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/1.202, allocations: 173.2 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.202, allocations: 1.547 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/1.202, allocations: 14.86 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.202, allocations: 4.625 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/1.202, allocations: 6.562 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.202, allocations: 0 / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.202, allocations: 0.7812 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/1.203, allocations: 205.1 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/1.203, allocations: 78.67 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.203, allocations: 2.141 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.203, allocations: 11.06 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/1.203, allocations: 4.656 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/1.203, allocations: 1.812 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.091e-05/1.203, allocations: 90.88 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.203, allocations: 0 / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002175/1.203, allocations: 6.469 kB / 1.277 GB, free: 4.234 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.0001346/1.203, allocations: 106.1 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003601/1.204, allocations: 71.62 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.204, allocations: 0 / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/1.204, allocations: 38 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/1.204, allocations: 9.828 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/1.204, allocations: 149 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/1.204, allocations: 0.6829 MB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.81e-05/1.204, allocations: 1.656 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/1.204, allocations: 9.844 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.204, allocations: 0 / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of Templates: time 0.00338/1.208, allocations: 0.7254 MB / 1.278 GB, free: 3.215 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.856486413627863]