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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01019/0.01019, allocations: 98.86 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 193.2 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.91 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9189/0.9201, allocations: 159.2 MB / 1.221 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001831/0.922, allocations: 0.6963 MB / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.9229, allocations: 0.8703 MB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.9229, allocations: 0 / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.923, allocations: 7.922 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.923, allocations: 7.938 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.9232, allocations: 15.92 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.9233, allocations: 43.91 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.9234, allocations: 8 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.9235, allocations: 19.92 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.9235, allocations: 19.91 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.9236, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.9236, allocations: 4 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.9236, allocations: 11.92 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.9236, allocations: 15.94 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.9237, allocations: 43.75 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9237, allocations: 7.984 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9237, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.9237, allocations: 3.938 kB / 1.222 GB, free: 292 kB / 0.9356 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.0005249/0.9242, allocations: 363.8 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9243, allocations: 8.031 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.9243, allocations: 12.89 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.9244, allocations: 168.4 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.9245, allocations: 4.375 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.9245, allocations: 384 / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.9247, allocations: 74.2 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.9247, allocations: 192 / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.9247, allocations: 7.938 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9247, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.925, allocations: 71.86 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.9254, allocations: 264.9 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.9256, allocations: 58.47 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.9257, allocations: 36.91 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.9257, allocations: 4 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.9258, allocations: 42.5 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9258, allocations: 0 / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005136/0.9263, allocations: 125.6 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.9263, allocations: 55.41 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.9264, allocations: 109.8 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.9264, allocations: 29.7 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.9265, allocations: 84.14 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.9265, allocations: 11.84 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.9265, allocations: 17.72 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.9266, allocations: 314.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.9267, allocations: 35.97 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.9269, allocations: 31.95 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.9271, allocations: 68.73 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9271, allocations: 3.938 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002889/0.9274, allocations: 101.6 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9274, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9274, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.9275, allocations: 3.938 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.9276, allocations: 15.98 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.9276, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.9277, allocations: 19.94 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.9277, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 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 7.805e-05/0.9278, allocations: 125.7 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.9278, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.9278, allocations: 7.906 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9278, allocations: 4 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.9278, allocations: 3.938 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9278, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.928, allocations: 169.6 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.928, allocations: 0 / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.9281, allocations: 19.97 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9281, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9281, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.9281, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9281, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.9285, allocations: 195.4 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.9285, allocations: 85.47 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.9285, allocations: 0 / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9286, allocations: 15.98 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.9287, allocations: 7.938 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.9287, allocations: 3.984 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.9287, allocations: 87.28 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9287, allocations: 4 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000211/0.9289, allocations: 4 kB / 1.225 GB, free: 13.13 MB / 0.9512 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.0001552/0.9291, allocations: 103.2 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.9294, allocations: 71.91 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9294, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.9295, allocations: 35.95 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.9298, allocations: 13.5 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.9302, allocations: 133.3 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.9304, allocations: 0.6768 MB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.9304, allocations: 8 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.9305, allocations: 15.38 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/0.9305, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of Templates: time 0.00269/0.9332, allocations: 0.7288 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) 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) Reference file matches