Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 107 kB / 16.36 MB, free: 6.285 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.001544/0.001544, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 65.06 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004389/0.3159, allocations: 1.765 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3179, allocations: 0.9006 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.318, allocations: 4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3183, allocations: 27.72 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.3189, allocations: 119.4 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.3193, allocations: 151.2 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.3196, allocations: 247.3 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3198, allocations: 45.64 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.32, allocations: 103.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/0.3318, allocations: 1.991 MB / 1.032 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.332, allocations: 20 kB / 1.032 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3321, allocations: 36 kB / 1.032 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.3322, allocations: 43.88 kB / 1.032 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.3323, allocations: 91.52 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3327, allocations: 215.3 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3327, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3327, allocations: 4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3327, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000824/0.3336, allocations: 0.5488 MB / 1.033 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3336, allocations: 12.03 kB / 1.033 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.3337, allocations: 20.73 kB / 1.033 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.334, allocations: 247.4 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.334, allocations: 16 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.3341, allocations: 16 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3343, allocations: 109.2 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3343, allocations: 4 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3343, allocations: 3.984 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3343, allocations: 0 / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3344, allocations: 63.89 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.3354, allocations: 0.5396 MB / 1.034 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3355, allocations: 97.06 kB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3356, allocations: 45.89 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3356, allocations: 0 / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3359, allocations: 128.3 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3359, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003327/0.3362, allocations: 161.4 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3363, allocations: 89.12 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3365, allocations: 190.8 kB / 1.035 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3365, allocations: 37.69 kB / 1.035 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.3366, allocations: 124.4 kB / 1.035 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3367, allocations: 35.55 kB / 1.035 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.3368, allocations: 57.67 kB / 1.035 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3369, allocations: 330.8 kB / 1.035 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.337, allocations: 43.92 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3373, allocations: 130.5 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3374, allocations: 113.9 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3374, allocations: 0 / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002515/0.3377, allocations: 161.3 kB / 1.036 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3377, allocations: 10.5 kB / 1.036 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3377, allocations: 4.156 kB / 1.036 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3378, allocations: 4 kB / 1.036 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.3379, allocations: 23.92 kB / 1.036 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3379, allocations: 4 kB / 1.036 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3381, allocations: 27.83 kB / 1.036 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3381, allocations: 8 kB / 1.036 GB, free: 9.195 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000115/0.3382, allocations: 135.5 kB / 1.036 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.3383, allocations: 23.8 kB / 1.036 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.3383, allocations: 21.53 kB / 1.036 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3383, allocations: 4 kB / 1.036 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3383, allocations: 0 / 1.036 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3383, allocations: 0 / 1.036 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3389, allocations: 472.2 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3389, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.3389, allocations: 7.984 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.339, allocations: 0 / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.339, allocations: 8 kB / 1.036 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.339, allocations: 3.938 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.339, allocations: 0 / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.3392, allocations: 228.1 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3393, allocations: 92.95 kB / 1.037 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.3394, allocations: 15.92 kB / 1.037 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3395, allocations: 19.92 kB / 1.037 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.3396, allocations: 19.97 kB / 1.037 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3396, allocations: 4 kB / 1.037 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000118/0.3397, allocations: 146.7 kB / 1.037 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3397, allocations: 0 / 1.037 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003498/0.3401, allocations: 55.89 kB / 1.037 GB, free: 7.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002923/0.3404, allocations: 154.1 kB / 1.037 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3406, allocations: 116 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3406, allocations: 0 / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.3407, allocations: 51.86 kB / 1.037 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3412, allocations: 58.75 kB / 1.037 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.3417, allocations: 276.4 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.342, allocations: 0.7282 MB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.369e-05/0.3421, allocations: 25.61 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3421, allocations: 23.44 kB / 1.038 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3421, allocations: 4 kB / 1.038 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.007327/0.3495, allocations: 3.653 MB / 1.042 GB, free: 2.801 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches