Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, 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.00169/0.00169, allocations: 198.7 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.55 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003483/0.3052, allocations: 1.891 MB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3069, allocations: 0.9513 MB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3071, allocations: 0 / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3073, allocations: 27.78 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.3077, allocations: 95.59 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3081, allocations: 143.8 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3084, allocations: 223.4 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3086, allocations: 49.64 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.3088, allocations: 103.6 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02191/0.3307, allocations: 1.519 MB / 1.058 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.029e-05/0.3308, allocations: 8 kB / 1.058 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3309, allocations: 35.92 kB / 1.058 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.331, allocations: 39.83 kB / 1.058 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.3311, allocations: 83.56 kB / 1.058 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3314, allocations: 139.8 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3314, allocations: 0 / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3314, allocations: 7.984 kB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3314, allocations: 0 / 1.058 GB, free: 3.336 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.0009072/0.3323, allocations: 0.5566 MB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3324, allocations: 11.97 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.3325, allocations: 20.75 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3328, allocations: 243.5 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3328, allocations: 12 kB / 1.059 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.3328, allocations: 12 kB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.3331, allocations: 117 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3331, allocations: 0 / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3331, allocations: 8 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3331, allocations: 0 / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3332, allocations: 51.97 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.3341, allocations: 0.5395 MB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3343, allocations: 97.27 kB / 1.06 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.3344, allocations: 45.77 kB / 1.06 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3344, allocations: 0 / 1.06 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3346, allocations: 131 kB / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.3346, allocations: 0 / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003625/0.335, allocations: 161.5 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3351, allocations: 89.17 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3353, allocations: 192.4 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3353, allocations: 33.7 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3354, allocations: 132.4 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3355, allocations: 31.58 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.3356, allocations: 61.59 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3357, allocations: 330.8 kB / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.3357, allocations: 31.98 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.336, allocations: 138.1 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3362, allocations: 124.3 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3362, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002725/0.3365, allocations: 149.5 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3365, allocations: 4 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3365, allocations: 12.14 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3365, allocations: 4 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.3366, allocations: 23.92 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3366, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3369, allocations: 27.83 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.3369, allocations: 8 kB / 1.061 GB, free: 15.66 MB / 0.8262 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.0001409/0.337, allocations: 143.5 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3371, allocations: 15.81 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.3371, allocations: 21.53 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3371, allocations: 7.984 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3371, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3371, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.3378, allocations: 470.2 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3378, allocations: 0 / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.3378, allocations: 4 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3378, allocations: 4 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3378, allocations: 8 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.3378, allocations: 3.938 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3378, allocations: 7.875 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3381, allocations: 224.2 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.3381, allocations: 92.86 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3382, allocations: 4 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3383, allocations: 23.91 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.3384, allocations: 15.98 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3384, allocations: 11.98 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3386, allocations: 144.2 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3386, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00032/0.3389, allocations: 43.91 kB / 1.062 GB, free: 14.34 MB / 0.8262 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.0003208/0.3392, allocations: 180.1 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3395, allocations: 103.8 kB / 1.063 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3395, allocations: 0 / 1.063 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3396, allocations: 55.05 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.34, allocations: 46.39 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.3407, allocations: 383.9 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3409, allocations: 0.7206 MB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.341, allocations: 27.42 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.341, allocations: 0 / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.005605/0.3466, allocations: 3.195 MB / 1.067 GB, free: 9.617 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches