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.001505/0.001505, allocations: 109 kB / 16.41 MB, free: 6.438 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.001509/0.001509, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.558/2.558, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7865, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002013/0.7885, allocations: 0.7104 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.7896, allocations: 0.8726 MB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.7897, allocations: 8 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.7897, allocations: 3.938 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.7898, allocations: 7.938 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.79, allocations: 15.98 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.7901, allocations: 47.84 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.7902, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.7903, allocations: 27.91 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.7904, allocations: 15.92 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.7904, allocations: 8 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.7904, allocations: 4 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.7904, allocations: 11.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.7905, allocations: 15.94 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.7906, allocations: 39.86 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7906, allocations: 3.938 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7906, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7906, allocations: 4 kB / 1.169 GB, free: 2.051 MB / 0.8887 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.0005627/0.7912, allocations: 355.2 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7913, allocations: 12.92 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.7913, allocations: 4.844 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.7914, allocations: 174.1 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.7914, allocations: 4.375 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.7915, allocations: 4.375 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.7917, allocations: 70.2 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7918, allocations: 192 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7918, allocations: 7.938 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7918, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.7921, allocations: 63.92 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.7925, allocations: 264.9 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.7927, allocations: 62.42 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.7928, allocations: 44.84 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.7928, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.7929, allocations: 30.56 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.7929, allocations: 0 / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005131/0.7934, allocations: 137.5 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7934, allocations: 55.41 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.7935, allocations: 109.8 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7935, allocations: 25.7 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.7936, allocations: 96.05 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.7936, allocations: 7.844 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.7937, allocations: 13.72 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7938, allocations: 318.8 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.7939, allocations: 27.97 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.7941, allocations: 35.95 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.7943, allocations: 64.8 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7943, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002999/0.7946, allocations: 101.5 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7947, allocations: 8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7947, allocations: 4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7947, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.7948, allocations: 19.92 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.7949, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.7949, allocations: 7.984 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.7949, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 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.318e-05/0.795, allocations: 120.8 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.7951, allocations: 12.23 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.7951, allocations: 7.906 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7951, allocations: 3.984 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7951, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7951, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.7953, allocations: 165.6 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7953, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.7954, allocations: 15.98 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7954, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.7954, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7954, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7954, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.7958, allocations: 195.3 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.7958, allocations: 81.02 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.7959, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.796, allocations: 19.98 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.796, allocations: 7.984 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.796, allocations: 3.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.7961, allocations: 83.28 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7961, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002216/0.7963, allocations: 8 kB / 1.172 GB, free: 14.91 MB / 0.9044 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.0001441/0.7965, allocations: 99.25 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.7968, allocations: 75.84 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7968, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.7969, allocations: 35.97 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.7972, allocations: 11.94 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.7976, allocations: 151.2 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.7979, allocations: 0.6846 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.7979, allocations: 11.44 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of SimCode: time 1.693e-06/0.7979, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.002001/0.7999, allocations: 0.7526 MB / 1.174 GB, free: 13.03 MB / 0.9044 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