Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008105/0.008105, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001571/0.001571, allocations: 192.5 kB / 16.67 MB, free: 5.969 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 / 240.4 MB, free: 4.328 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.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.62 kB / 0.9508 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002491/0.288, allocations: 1.483 MB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.2888, allocations: 444.3 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.2888, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.2889, allocations: 11.86 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.289, allocations: 7.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2891, allocations: 23.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.2892, allocations: 59.83 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2893, allocations: 11.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.2894, allocations: 12 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.2895, allocations: 31.78 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2895, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.2895, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.2895, allocations: 11.98 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.2896, allocations: 31.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2897, allocations: 39.81 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2897, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.37 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000548/0.2903, allocations: 355.5 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2903, allocations: 8.031 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.2904, allocations: 4.938 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2905, allocations: 176.2 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2906, allocations: 4.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2906, allocations: 4.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2908, allocations: 65.92 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2908, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2908, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2908, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.2909, allocations: 27.98 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.2915, allocations: 308.6 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2917, allocations: 54.56 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.2917, allocations: 24.95 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2917, allocations: 3.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.292, allocations: 79.39 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.292, allocations: 7.938 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.000235/0.2922, allocations: 97.61 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2923, allocations: 55.41 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.2923, allocations: 105.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2924, allocations: 33.7 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.2924, allocations: 84.14 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.2924, allocations: 19.66 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.522e-05/0.2925, allocations: 29.7 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2926, allocations: 330.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.2927, allocations: 12 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.2927, allocations: 43.42 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.2928, allocations: 67.36 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2928, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.293, allocations: 97.56 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.293, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.293, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.293, allocations: 4.062 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.2931, allocations: 15.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2931, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.2932, allocations: 11.91 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2932, allocations: 7.984 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.93e-05/0.2933, allocations: 127.2 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.2933, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.2934, allocations: 7.969 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2934, allocations: 3.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2934, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2934, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.2938, allocations: 362.7 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2939, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.2939, allocations: 11.98 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2939, allocations: 4.281 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2939, allocations: 96 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2939, allocations: 7.875 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2939, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2941, allocations: 183.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2941, allocations: 85 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2942, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.2942, allocations: 11.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2943, allocations: 12 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.2943, allocations: 7.984 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.2944, allocations: 83.22 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2944, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002256/0.2946, allocations: 16 kB / 1.093 GB, free: 12 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.891e-05/0.2947, allocations: 95.25 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.2948, allocations: 55.91 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2948, allocations: 4.062 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.2949, allocations: 23.94 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2952, allocations: 15.98 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.2955, allocations: 141.6 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.296, allocations: 0.6846 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.296, allocations: 7.984 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.296, allocations: 11.44 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2961, allocations: 4.281 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.002979/0.299, allocations: 0.8018 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches