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.001118/0.001119, allocations: 115.2 kB / 16.37 MB, free: 6.016 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: 193.2 kB / 17.31 MB, free: 5.609 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.344/2.344, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 68.45 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, 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.002983/0.3135, allocations: 1.743 MB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3149, allocations: 0.9122 MB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.315, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3152, allocations: 27.73 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3155, allocations: 123.4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3159, allocations: 151.7 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3162, allocations: 243.3 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3163, allocations: 37.67 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3164, allocations: 115.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01132/0.3277, allocations: 1.985 MB / 1.032 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.3278, allocations: 20 kB / 1.032 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.328, allocations: 39.98 kB / 1.032 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.328, allocations: 39.84 kB / 1.032 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3282, allocations: 103.5 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3286, allocations: 219.2 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3286, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3286, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3286, 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.0008314/0.3294, allocations: 0.5489 MB / 1.033 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3295, allocations: 8.031 kB / 1.033 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.3296, allocations: 24.75 kB / 1.033 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.3299, allocations: 243.4 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3299, allocations: 12 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.33, allocations: 16 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3302, allocations: 108.9 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3302, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3302, allocations: 4 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3303, allocations: 4 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3304, allocations: 55.91 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.3313, allocations: 0.5395 MB / 1.034 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3314, allocations: 97.12 kB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.3315, allocations: 41.91 kB / 1.034 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3315, allocations: 4 kB / 1.034 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.3318, allocations: 129 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3318, allocations: 4 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003312/0.3322, allocations: 162.9 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3322, allocations: 81.11 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3324, allocations: 198.8 kB / 1.035 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3325, allocations: 29.7 kB / 1.035 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.3326, allocations: 128.4 kB / 1.035 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3326, allocations: 31.55 kB / 1.035 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.3327, allocations: 65.8 kB / 1.035 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3328, allocations: 326.8 kB / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.3329, allocations: 35.92 kB / 1.035 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3331, allocations: 138.5 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3333, allocations: 109.9 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3333, allocations: 0 / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00025/0.3335, allocations: 162.8 kB / 1.036 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3335, allocations: 14.44 kB / 1.036 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3336, allocations: 0 / 1.036 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3336, allocations: 11.98 kB / 1.036 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.3337, allocations: 15.94 kB / 1.036 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3337, allocations: 4 kB / 1.036 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3339, allocations: 27.83 kB / 1.036 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3339, allocations: 7.984 kB / 1.036 GB, free: 9.211 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.0001314/0.3341, allocations: 151.7 kB / 1.036 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.3341, allocations: 15.81 kB / 1.036 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.3342, allocations: 21.52 kB / 1.036 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3342, allocations: 0 / 1.036 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3342, allocations: 0 / 1.036 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3342, allocations: 4 kB / 1.036 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.3348, allocations: 466.1 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3348, allocations: 7.938 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.3348, allocations: 4 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3348, allocations: 4 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3348, allocations: 4 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3348, allocations: 3.938 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3348, allocations: 0 / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3351, allocations: 231.4 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.3351, allocations: 100.9 kB / 1.037 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3352, allocations: 3.984 kB / 1.037 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3353, allocations: 19.92 kB / 1.037 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3354, allocations: 15.98 kB / 1.037 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3354, allocations: 7.984 kB / 1.037 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001192/0.3355, allocations: 146.7 kB / 1.037 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3355, allocations: 0 / 1.037 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003078/0.3358, allocations: 47.91 kB / 1.037 GB, free: 7.887 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.0003314/0.3362, allocations: 172.7 kB / 1.037 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3364, allocations: 103.8 kB / 1.037 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3364, allocations: 0 / 1.037 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.3365, allocations: 51.92 kB / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3369, allocations: 59.27 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.3374, allocations: 284.8 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3377, allocations: 0.7241 MB / 1.038 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.3378, allocations: 21.55 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.3378, allocations: 31.36 kB / 1.038 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3378, allocations: 0 / 1.038 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of Templates: time 0.008001/0.3458, allocations: 3.651 MB / 1.042 GB, free: 2.812 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 cvode -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