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.001353/0.001353, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00153/0.00153, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.16 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3022, allocations: 140.4 MB / 0.9503 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002148/0.3044, allocations: 0.7062 MB / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3055, allocations: 0.8645 MB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.3056, allocations: 4 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.3056, allocations: 3.938 kB / 0.9518 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.3057, allocations: 3.938 kB / 0.9518 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3059, allocations: 23.91 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.306, allocations: 39.91 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3062, allocations: 15.94 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.3062, allocations: 19.98 kB / 0.9519 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.3063, allocations: 15.92 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3063, allocations: 4 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3063, allocations: 4 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.3064, allocations: 11.92 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.3064, allocations: 11.94 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.3065, allocations: 51.84 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3065, allocations: 4 kB / 0.952 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3065, allocations: 3.938 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3065, allocations: 0 / 0.952 GB, free: 7.02 MB / 0.7325 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.0005506/0.3071, allocations: 363.5 kB / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3071, allocations: 12.03 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.3072, allocations: 0.9375 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3073, allocations: 172.2 kB / 0.9526 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3073, allocations: 384 / 0.9526 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3074, allocations: 16.34 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3076, allocations: 66.22 kB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3076, allocations: 192 / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3077, allocations: 3.938 kB / 0.9526 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3077, allocations: 0 / 0.9526 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.308, allocations: 67.86 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3084, allocations: 269 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3086, allocations: 54.48 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3087, allocations: 44.91 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3088, allocations: 0 / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3088, allocations: 30.56 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3088, allocations: 0 / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005447/0.3094, allocations: 137.4 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3094, allocations: 59.34 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.3095, allocations: 109.8 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3095, allocations: 25.7 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3096, allocations: 88.14 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3096, allocations: 3.906 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3097, allocations: 13.72 kB / 0.9535 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3098, allocations: 318.8 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3099, allocations: 31.97 kB / 0.9538 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3101, allocations: 35.95 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.3104, allocations: 64.73 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3104, allocations: 7.938 kB / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003257/0.3107, allocations: 101.5 kB / 0.954 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3108, allocations: 8 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3108, allocations: 0 / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3108, allocations: 0 / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3109, allocations: 19.98 kB / 0.9541 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3109, allocations: 0 / 0.9541 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.311, allocations: 11.98 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.311, allocations: 7.938 kB / 0.9541 GB, free: 4.691 MB / 0.7325 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.683e-05/0.3111, allocations: 119.7 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.3112, allocations: 4 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.3112, allocations: 3.906 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3112, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3112, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3112, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3114, allocations: 181.8 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3114, allocations: 7.922 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3115, allocations: 15.98 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3115, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3116, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3116, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3116, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.312, allocations: 207.4 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.312, allocations: 81.05 kB / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.312, allocations: 0 / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3121, allocations: 11.98 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3122, allocations: 7.984 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3122, allocations: 4 kB / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.3123, allocations: 91.58 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 0 / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002245/0.3125, allocations: 8 kB / 0.9548 GB, free: 3.867 MB / 0.7325 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.0001451/0.3127, allocations: 103.2 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.313, allocations: 71.84 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.313, allocations: 4 kB / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3132, allocations: 35.97 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3135, allocations: 13.31 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3139, allocations: 155.1 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3141, allocations: 0.6883 MB / 0.9558 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.3142, allocations: 15.44 kB / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3142, allocations: 0 / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of Templates: time 0.002144/0.3163, allocations: 0.7299 MB / 0.9566 GB, free: 2 MB / 0.7325 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