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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_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.001257/0.001257, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001192/0.001192, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.1 MB / 0.7108 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 0.8694 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6275, allocations: 151.6 MB / 1.018 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002572/0.6301, allocations: 0.769 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.6315, allocations: 0.8663 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.6316, allocations: 7.938 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.6317, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.6318, allocations: 7.922 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.632, allocations: 8 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.6321, allocations: 47.84 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.6322, allocations: 15.98 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.6323, allocations: 15.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.6324, allocations: 19.86 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.6324, allocations: 8 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.6324, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.6325, allocations: 15.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.6325, allocations: 11.94 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.6326, allocations: 27.94 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.6326, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6326, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6326, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 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.0006361/0.6333, allocations: 373.2 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.6334, allocations: 8.031 kB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.6334, allocations: 4.938 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.6336, allocations: 176.3 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6336, allocations: 384 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.6336, allocations: 4.359 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.6339, allocations: 70.22 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6339, allocations: 4.125 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.634, allocations: 7.922 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.634, allocations: 4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.6343, allocations: 63.88 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.6348, allocations: 261 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.635, allocations: 62.47 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.6352, allocations: 40.92 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.6352, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6352, allocations: 34.55 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6352, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005803/0.6358, allocations: 129.5 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.6359, allocations: 51.41 kB / 1.021 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.636, allocations: 109.8 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.636, allocations: 25.7 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.6361, allocations: 92.12 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.6361, allocations: 11.84 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6362, allocations: 13.72 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6363, allocations: 314.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.6365, allocations: 31.95 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.6366, allocations: 31.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.6369, allocations: 72.72 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6369, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003246/0.6373, allocations: 97.53 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.6373, allocations: 12 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6373, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6373, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6375, allocations: 15.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.6375, allocations: 7.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.6376, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.6376, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 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.0001029/0.6377, allocations: 114.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.6377, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.6378, allocations: 11.89 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6378, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6378, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6378, allocations: 336 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.638, allocations: 169.6 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.638, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.6381, allocations: 15.98 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6381, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6382, allocations: 3.984 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6382, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6382, allocations: 7.922 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.6386, allocations: 195.3 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.6386, allocations: 81.11 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6387, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.6388, allocations: 15.97 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.6388, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.6388, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.237e-05/0.6389, allocations: 91.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6389, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002202/0.6391, allocations: 8 kB / 1.022 GB, free: 13.7 MB / 0.7794 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.0001708/0.6393, allocations: 99.25 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.6397, allocations: 71.92 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6397, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6399, allocations: 35.95 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.6402, allocations: 11.94 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.6406, allocations: 167.2 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.6409, allocations: 0.6846 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.641, allocations: 7.438 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.641, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002409/0.6434, allocations: 0.7475 MB / 1.024 GB, free: 11.81 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches