Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001281/0.001281, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.0013/0.0013, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.467/2.467, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.88 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7334, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001764/0.7352, allocations: 0.7108 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.7361, allocations: 0.8663 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.7362, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.7362, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.7363, allocations: 15.92 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.7364, allocations: 15.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.398e-05/0.7365, allocations: 39.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.7366, allocations: 7.984 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.7367, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.7368, allocations: 23.91 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7368, allocations: 8 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.7368, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.7368, allocations: 11.92 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.7369, allocations: 15.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.7369, allocations: 39.81 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.737, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.737, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.737, allocations: 0 / 1.21 GB, free: 11.85 MB / 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.0004963/0.7375, allocations: 371.2 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7375, allocations: 8.031 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.7376, allocations: 8.844 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7377, allocations: 166.2 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7377, allocations: 8.375 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.7377, allocations: 384 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.738, allocations: 74.2 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.738, allocations: 192 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.738, allocations: 3.938 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.738, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.7383, allocations: 67.86 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.7386, allocations: 260.8 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7388, allocations: 66.47 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.739, allocations: 36.91 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.739, allocations: 4 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7391, allocations: 30.56 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7391, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005542/0.7396, allocations: 133.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.7397, allocations: 55.39 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.7398, allocations: 105.9 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7398, allocations: 25.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.7398, allocations: 92.03 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.7399, allocations: 15.84 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.7399, allocations: 13.72 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.74, allocations: 318.8 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7402, allocations: 27.97 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.7403, allocations: 31.95 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.7406, allocations: 73.06 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7406, allocations: 7.875 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.7409, allocations: 97.61 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.741, allocations: 4 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.741, allocations: 4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.741, allocations: 7.938 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7411, allocations: 11.98 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7411, allocations: 0 / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.7412, allocations: 11.98 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.7412, allocations: 0 / 1.212 GB, free: 9.523 MB / 0.9356 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.964e-05/0.7413, allocations: 117.8 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.7413, allocations: 7.891 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.7414, allocations: 15.91 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7414, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7414, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7414, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.7415, allocations: 165.6 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7416, allocations: 0 / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.7417, allocations: 23.91 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7417, allocations: 0 / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.7417, allocations: 4 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7417, allocations: 0 / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7417, allocations: 4 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.742, allocations: 187.4 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.7421, allocations: 89 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.7421, allocations: 3.938 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7422, allocations: 19.98 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.7423, allocations: 0 / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.7423, allocations: 0 / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.7423, allocations: 91.27 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7423, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002132/0.7425, allocations: 8 kB / 1.213 GB, free: 8.691 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.0001225/0.7427, allocations: 99.19 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.743, allocations: 71.92 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.743, allocations: 0 / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.7432, allocations: 35.95 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7435, allocations: 14.52 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.7438, allocations: 155.2 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.744, allocations: 0.6807 MB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.744, allocations: 7.438 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.744, allocations: 7.875 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.001911/0.746, allocations: 0.7511 MB / 1.215 GB, free: 6.816 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches