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.001107/0.001107, allocations: 109.8 kB / 16.41 MB, free: 6.441 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.001063/0.001063, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.989/0.9903, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002025/0.9924, allocations: 0.7095 MB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.9937, allocations: 0.8705 MB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.9937, allocations: 0 / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.9938, allocations: 5.281 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.9938, allocations: 5.625 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.994, allocations: 20.44 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.9942, allocations: 42.81 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.9943, allocations: 11.39 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.9944, allocations: 16.95 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.9944, allocations: 26.58 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.9945, allocations: 3.875 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.9945, allocations: 3.969 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.9945, allocations: 7.328 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.9946, allocations: 17.55 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.9947, allocations: 39.97 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9947, allocations: 7.938 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9947, allocations: 1.375 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.9947, allocations: 0 / 1.09 GB, free: 4.574 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.0005694/0.9953, allocations: 362.7 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9953, allocations: 9.031 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.9954, allocations: 7 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.9955, allocations: 165.7 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.9955, allocations: 1.5 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.9955, allocations: 5.625 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.9958, allocations: 68.17 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.9958, allocations: 192 / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9958, allocations: 5.656 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9958, allocations: 5 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.9962, allocations: 69.81 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.9965, allocations: 273.9 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.9967, allocations: 59.38 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.9969, allocations: 37.67 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.997, allocations: 5.094 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.997, allocations: 36.31 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.997, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005877/0.9976, allocations: 127.8 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.9976, allocations: 57.12 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.9977, allocations: 107.2 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.9977, allocations: 31.17 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.9978, allocations: 82.27 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.9978, allocations: 18.16 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.9978, allocations: 13.61 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.9979, allocations: 317.9 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.998, allocations: 35.03 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.9982, allocations: 32.17 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.9985, allocations: 69.83 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9985, allocations: 4.625 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.9988, allocations: 102.1 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9989, allocations: 5.125 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9989, allocations: 1.578 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9989, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.999, allocations: 15.75 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.999, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.9991, allocations: 16.12 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9992, allocations: 1.156 kB / 1.092 GB, free: 2.793 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 7.59e-05/0.9992, allocations: 116.5 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.9993, allocations: 6.125 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.9993, allocations: 6.672 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.9993, allocations: 0 / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9993, allocations: 0.7188 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9993, allocations: 1.453 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.9995, allocations: 177.7 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9995, allocations: 1.219 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.9996, allocations: 15.27 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9996, allocations: 0.875 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.9996, allocations: 5.375 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9996, allocations: 0 / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9996, allocations: 0.9688 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/1, allocations: 198 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/1, allocations: 83.91 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1, allocations: 0.7031 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1, allocations: 15.27 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/1, allocations: 9.094 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/1, allocations: 0.75 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.706e-05/1, allocations: 88.16 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 7.938 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002173/1.001, allocations: 10.69 kB / 1.093 GB, free: 2.105 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.0001541/1.001, allocations: 103.9 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000382/1.001, allocations: 67.16 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.001, allocations: 0 / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/1.001, allocations: 38.47 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/1.002, allocations: 9.312 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/1.002, allocations: 144.4 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/1.002, allocations: 0.6798 MB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/1.002, allocations: 10.42 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/1.002, allocations: 4 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.002825/1.005, allocations: 0.7504 MB / 1.095 GB, free: 1.098 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/jenkins1/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