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.000857/0.0008569, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005554/0.005554, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.815/2.815, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 16 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6798, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.0008694/0.6807, allocations: 438 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.6816, allocations: 0.8663 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.6817, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.6817, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.6818, allocations: 11.94 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.6819, allocations: 11.98 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.682, allocations: 43.8 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.6821, allocations: 16 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.6822, allocations: 11.98 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.6822, allocations: 27.84 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6823, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.6823, allocations: 7.938 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.6823, allocations: 3.984 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.6823, allocations: 41.62 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.42e-05/0.6824, allocations: 35.81 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6824, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6824, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6825, allocations: 0 / 1.025 GB, free: 14.34 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.0005842/0.683, allocations: 365.4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6831, allocations: 12.03 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.6831, allocations: 8.828 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6832, allocations: 168.3 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.6833, allocations: 8.312 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.6833, allocations: 8.375 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.6835, allocations: 70.22 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.6836, allocations: 192 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6836, allocations: 11.94 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6836, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.6839, allocations: 91.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.6843, allocations: 261 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.6845, allocations: 78.41 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.6847, allocations: 44.92 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6848, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6848, allocations: 38.56 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6848, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005923/0.6854, allocations: 157.7 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6854, allocations: 55.34 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.6855, allocations: 113.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6855, allocations: 25.7 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.6856, allocations: 92.05 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.6856, allocations: 15.83 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.6856, allocations: 9.719 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.6857, allocations: 314.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6859, allocations: 47.95 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6861, allocations: 40 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.6864, allocations: 92.78 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6864, allocations: 3.938 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000382/0.6868, allocations: 121.6 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6868, allocations: 8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6868, allocations: 7.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6869, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.687, allocations: 23.97 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.687, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.6871, allocations: 23.83 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.6871, allocations: 0 / 1.027 GB, free: 11.84 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 8.915e-05/0.6872, allocations: 117.8 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.6873, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.6873, allocations: 3.906 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6873, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6873, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6873, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.6875, allocations: 173.6 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6875, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.6876, allocations: 19.98 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.6877, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.6877, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6877, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6877, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.6881, allocations: 231.2 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.6882, allocations: 77.11 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.6882, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6883, allocations: 15.98 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.6883, allocations: 7.984 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.6884, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.6884, allocations: 91.27 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6884, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002259/0.6886, allocations: 4 kB / 1.027 GB, free: 11 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.0001436/0.6888, allocations: 111.2 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.6892, allocations: 95.86 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6892, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.6894, allocations: 39.97 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.6897, allocations: 15.92 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.6901, allocations: 136.6 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.6903, allocations: 0.6848 MB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.6904, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.6904, allocations: 15.44 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6904, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.002731/0.6931, allocations: 0.5768 MB / 1.029 GB, free: 9.277 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/jenkins/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