Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009187/0.009186, allocations: 103.1 kB / 15.74 MB, free: 6.066 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.001547/0.001547, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.688/2.688, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.39 kB / 0.9509 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3833, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002582/0.386, allocations: 0.7003 MB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3874, allocations: 0.8744 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.3875, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.3876, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.3878, allocations: 7.922 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.3881, allocations: 15.92 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3883, allocations: 47.84 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.3884, allocations: 12 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.3885, allocations: 11.98 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.3886, allocations: 23.86 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.3886, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3886, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.3887, allocations: 11.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.3887, allocations: 15.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3889, allocations: 47.73 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.3889, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3889, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3889, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 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.0006282/0.3895, allocations: 359.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.3896, allocations: 8.031 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3897, allocations: 8.891 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3898, allocations: 172.3 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3898, allocations: 384 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3899, allocations: 8.359 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3901, allocations: 66.22 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3902, allocations: 4.188 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3902, allocations: 3.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3902, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3905, allocations: 67.86 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.3909, allocations: 268.9 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3912, allocations: 54.48 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3913, allocations: 44.84 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3914, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3914, allocations: 30.56 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3914, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005875/0.392, allocations: 141.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3921, allocations: 51.41 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3922, allocations: 109.8 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3922, allocations: 25.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.3923, allocations: 92.14 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3923, allocations: 3.953 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.3923, allocations: 17.72 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3925, allocations: 318.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3927, allocations: 27.97 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3928, allocations: 35.95 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3931, allocations: 72.73 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3931, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003378/0.3934, allocations: 101.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3935, allocations: 8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3935, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3935, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3937, allocations: 15.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3937, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.3938, allocations: 15.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3938, allocations: 336 / 1.092 GB, free: 13.3 MB / 0.8575 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.0001174/0.3939, allocations: 113.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.3939, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.394, allocations: 7.906 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.394, allocations: 3.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.394, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.394, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3942, allocations: 169.6 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3942, allocations: 7.922 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.3943, allocations: 11.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3943, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3944, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3944, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3944, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3947, allocations: 195.4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.3948, allocations: 81.11 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3948, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3949, allocations: 11.98 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.395, allocations: 7.984 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.395, allocations: 3.938 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.3951, allocations: 87.28 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3951, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002193/0.3953, allocations: 7.938 kB / 1.092 GB, free: 12.48 MB / 0.8575 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.0001745/0.3955, allocations: 107.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.3959, allocations: 75.84 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3959, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.396, allocations: 35.97 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3964, allocations: 11.94 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.3968, allocations: 129.5 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3971, allocations: 0.6806 MB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.3971, allocations: 4 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3972, allocations: 7.438 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3972, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of Templates: time 0.00313/0.4003, allocations: 0.7312 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches