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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001123/0.001123, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004044, allocations: 15.98 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.6784, allocations: 153.8 MB / 1.024 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.0009483/0.6794, allocations: 438.3 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.6805, allocations: 0.8624 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.6806, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.6806, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.6807, allocations: 11.92 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.6809, allocations: 15.98 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.6809, allocations: 43.84 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.681, allocations: 8 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.6811, allocations: 15.92 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.6812, allocations: 23.86 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.6812, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.6812, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.6813, allocations: 7.984 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.6813, allocations: 41.62 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.445e-05/0.6814, allocations: 23.94 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6814, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6814, allocations: 3.938 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6814, allocations: 4 kB / 1.025 GB, free: 14.51 MB / 0.7794 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.0005073/0.6819, allocations: 369.5 kB / 1.026 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.682, allocations: 8.031 kB / 1.026 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.682, allocations: 8.844 kB / 1.026 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6821, allocations: 172.3 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6822, allocations: 8.312 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.6822, allocations: 384 / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.6825, allocations: 82.22 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.6825, allocations: 7.875 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.6825, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6825, allocations: 7.969 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.6828, allocations: 83.94 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.6832, allocations: 264.9 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.6834, allocations: 70.53 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.6836, allocations: 44.92 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.6837, allocations: 3.938 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.6837, allocations: 38.55 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.6837, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005968/0.6843, allocations: 161.6 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.6843, allocations: 51.41 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.6844, allocations: 109.8 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6845, allocations: 25.7 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.6845, allocations: 96.03 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.6845, allocations: 7.844 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.6846, allocations: 9.719 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.6847, allocations: 318.8 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.6848, allocations: 47.89 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.685, allocations: 39.97 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.6853, allocations: 96.72 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6853, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003635/0.6857, allocations: 117.6 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6857, allocations: 8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6857, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6858, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6859, allocations: 23.97 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6859, allocations: 3.938 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.686, allocations: 23.89 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.686, allocations: 4.25 kB / 1.027 GB, free: 12.02 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 9.258e-05/0.6861, allocations: 117.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.6862, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.6862, allocations: 7.906 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6862, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6862, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.6862, allocations: 3.984 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6864, allocations: 173.6 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6864, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.6866, allocations: 23.98 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6866, allocations: 3.938 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.6866, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6866, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.6866, allocations: 7.984 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.687, allocations: 219.7 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.6871, allocations: 89.08 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.6871, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6872, allocations: 15.98 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.6873, allocations: 11.98 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.6873, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.6873, allocations: 87.25 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6873, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002317/0.6876, allocations: 12 kB / 1.028 GB, free: 11.16 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.0001485/0.6877, allocations: 107.2 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.6881, allocations: 87.92 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.6881, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.6883, allocations: 55.89 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.6887, allocations: 10.47 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.689, allocations: 158.3 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.6893, allocations: 0.6848 MB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.6893, allocations: 11.44 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6893, allocations: 4 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.002415/0.6917, allocations: 0.7313 MB / 1.03 GB, free: 9.258 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=480 -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