Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001577/0.001577, allocations: 211.3 kB / 23 MB, free: 4.934 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [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.002021/0.002021, allocations: 62.66 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4367, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002315/0.439, allocations: 0.6886 MB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4404, allocations: 0.902 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.4404, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.4405, allocations: 3.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.4405, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.4407, allocations: 23.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.4408, allocations: 51.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.441, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.441, allocations: 19.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.4411, allocations: 19.91 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.4411, allocations: 15.88 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.4411, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.4412, allocations: 7.984 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4412, allocations: 15.94 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.4413, allocations: 39.81 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4413, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4413, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4413, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 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.0005892/0.4419, allocations: 286.2 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4419, allocations: 12.03 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.442, allocations: 0.9375 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4421, allocations: 122.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4421, allocations: 12.31 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4421, allocations: 384 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.4424, allocations: 74.2 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4424, allocations: 4.188 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4425, allocations: 7.875 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4425, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.4428, allocations: 67.92 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4432, allocations: 200.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.4434, allocations: 46.55 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4435, allocations: 52.84 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.4436, allocations: 3.938 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.69e-05/0.4437, allocations: 34.56 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4437, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005602/0.4442, allocations: 133.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4443, allocations: 51.41 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4444, allocations: 109.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4444, allocations: 29.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.4444, allocations: 84.14 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4445, allocations: 3.953 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.4445, allocations: 17.72 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4447, allocations: 318.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4448, allocations: 31.91 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.445, allocations: 39.89 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.4452, allocations: 68.78 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4452, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.4456, allocations: 101.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4456, allocations: 8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4456, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4456, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4457, allocations: 11.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4457, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.4458, allocations: 19.97 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4458, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 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.786e-05/0.4459, allocations: 113.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.446, allocations: 7.891 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.446, allocations: 16 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.446, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.446, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.446, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.446, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4461, allocations: 11.97 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.4462, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004898/0.4467, allocations: 188.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004111/0.4471, allocations: 270.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001563/0.4473, allocations: 31.95 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.4473, allocations: 91.27 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Backend: time 3.6e-07/0.4473, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.4478, allocations: 107.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006473/0.4485, allocations: 0.5688 MB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Templates: time 0.003778/0.4523, allocations: 1.012 MB / 1.333 GB, free: 10.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.526619602998835]