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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001169/0.001169, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 196 kB / 16.79 MB, free: 6.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8548, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002056/0.8569, allocations: 0.7644 MB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.8577, allocations: 0.863 MB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.8578, allocations: 1.375 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.8578, allocations: 3.938 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.8579, allocations: 3.938 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.8581, allocations: 16.09 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.8582, allocations: 37.8 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.8583, allocations: 12.12 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.8583, allocations: 17.42 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.8584, allocations: 21.41 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.8584, allocations: 2.75 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.8585, allocations: 2.75 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.8585, allocations: 11.88 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.8585, allocations: 16.05 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.684e-05/0.8586, allocations: 29.44 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8586, allocations: 5.312 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8586, allocations: 0 / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8586, allocations: 4 kB / 0.9514 GB, free: 7.77 MB / 0.7169 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.0004734/0.8591, allocations: 368.6 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8591, allocations: 9.625 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.8592, allocations: 2.312 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.8593, allocations: 167 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.8593, allocations: 1.75 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.8593, allocations: 1.75 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.8596, allocations: 75.98 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8596, allocations: 192 / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8596, allocations: 5.125 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8596, allocations: 7.938 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.8599, allocations: 67.58 kB / 0.9521 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.8602, allocations: 264 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.8604, allocations: 55.38 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.8606, allocations: 43.56 kB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.8606, allocations: 5.312 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.8606, allocations: 32.19 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8606, allocations: 0 / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.8612, allocations: 129.1 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.8612, allocations: 56.81 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.8613, allocations: 107.7 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.8613, allocations: 25.7 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.8613, allocations: 89.44 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8614, allocations: 9.625 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.8614, allocations: 16.22 kB / 0.9528 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.8615, allocations: 316.1 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.8616, allocations: 33.75 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8617, allocations: 29.97 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.862, allocations: 71.53 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.862, allocations: 3.938 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.8623, allocations: 105.6 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8623, allocations: 8.453 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.8624, allocations: 1.344 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8624, allocations: 0 / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.8625, allocations: 15.61 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8625, allocations: 0 / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.8626, allocations: 18.64 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.8626, allocations: 9.359 kB / 0.9534 GB, free: 5.793 MB / 0.7169 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 5.317e-05/0.8627, allocations: 111.5 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.8627, allocations: 1.844 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.8627, allocations: 13.36 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8627, allocations: 0 / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8628, allocations: 1.25 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8628, allocations: 0 / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8629, allocations: 173 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8629, allocations: 5.219 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.863, allocations: 21.62 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.863, allocations: 1.188 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.863, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.863, allocations: 1.219 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.863, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.8633, allocations: 200.3 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.8634, allocations: 78.86 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.8634, allocations: 3.984 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8635, allocations: 14.58 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.8635, allocations: 2.625 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.8636, allocations: 1 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.8636, allocations: 93.59 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8636, allocations: 4 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.8638, allocations: 6.375 kB / 0.9541 GB, free: 5.066 MB / 0.7169 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.0001191/0.8639, allocations: 102.7 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.8643, allocations: 65.86 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8643, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.8644, allocations: 45.95 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8647, allocations: 7.031 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.865, allocations: 159 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.8652, allocations: 0.6917 MB / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.8652, allocations: 9.5 kB / 0.9552 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8652, allocations: 0 / 0.9552 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.001999/0.8672, allocations: 0.7318 MB / 0.9559 GB, free: 3.672 MB / 0.7169 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