Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008288, allocations: 92.23 kB / 16.02 MB, free: 80 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.001079/0.001079, allocations: 177 kB / 16.92 MB, free: 6.648 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 8.844 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002082/0.3325, allocations: 1.541 MB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.334, allocations: 0.9397 MB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.334, allocations: 4 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3342, allocations: 15.86 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3345, allocations: 95.59 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3348, allocations: 143 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.3351, allocations: 239.3 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3352, allocations: 25.66 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3353, allocations: 99.67 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05389/0.3892, allocations: 3.597 MB / 1.066 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.3893, allocations: 12 kB / 1.066 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3895, allocations: 27.98 kB / 1.066 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.3896, allocations: 39.77 kB / 1.066 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3897, allocations: 109.3 kB / 1.066 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.39, allocations: 143.6 kB / 1.066 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.39, allocations: 3.984 kB / 1.066 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.39, allocations: 0 / 1.066 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.39, allocations: 0 / 1.066 GB, free: 14.82 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008596/0.3909, allocations: 0.5177 MB / 1.067 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3909, allocations: 15.97 kB / 1.067 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.391, allocations: 20.75 kB / 1.067 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3913, allocations: 239.5 kB / 1.067 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3914, allocations: 12 kB / 1.067 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3914, allocations: 15.94 kB / 1.067 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3916, allocations: 95.19 kB / 1.067 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3916, allocations: 0 / 1.067 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3916, allocations: 4 kB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3916, allocations: 4 kB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3918, allocations: 55.92 kB / 1.067 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.3926, allocations: 472.4 kB / 1.068 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.3931, allocations: 158.7 kB / 1.068 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.3932, allocations: 44.72 kB / 1.068 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3932, allocations: 4 kB / 1.068 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.3934, allocations: 115.1 kB / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.3934, allocations: 0 / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003422/0.3938, allocations: 160.1 kB / 1.068 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3938, allocations: 59.34 kB / 1.068 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.394, allocations: 200.2 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3941, allocations: 33.7 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.3942, allocations: 124.5 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.3942, allocations: 39.55 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3942, allocations: 29.7 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3944, allocations: 326.8 kB / 1.069 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.3945, allocations: 31.98 kB / 1.069 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3947, allocations: 128.9 kB / 1.069 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3949, allocations: 102.9 kB / 1.069 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3949, allocations: 0 / 1.069 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002537/0.3951, allocations: 153.3 kB / 1.069 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3951, allocations: 4.125 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3952, allocations: 8 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3952, allocations: 0 / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.3953, allocations: 27.86 kB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3953, allocations: 4 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3955, allocations: 27.89 kB / 1.069 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3955, allocations: 4 kB / 1.069 GB, free: 11.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.000138/0.3957, allocations: 151.4 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3957, allocations: 15.81 kB / 1.069 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.3957, allocations: 17.88 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3958, allocations: 4 kB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3958, allocations: 7.922 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3958, allocations: 0 / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.3965, allocations: 0.4982 MB / 1.07 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3965, allocations: 0 / 1.07 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.3965, allocations: 7.984 kB / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3965, allocations: 0 / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3965, allocations: 0 / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3965, allocations: 3.938 kB / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3965, allocations: 4 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3968, allocations: 235.2 kB / 1.07 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3969, allocations: 92.92 kB / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3969, allocations: 0 / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.397, allocations: 27.91 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.3971, allocations: 19.97 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3972, allocations: 12 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000131/0.3973, allocations: 144.2 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3973, allocations: 0 / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000309/0.3976, allocations: 43.91 kB / 1.07 GB, free: 9.996 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003616/0.398, allocations: 181.1 kB / 1.071 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3982, allocations: 99.84 kB / 1.071 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3982, allocations: 0 / 1.071 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.3983, allocations: 52.22 kB / 1.071 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.3988, allocations: 51.72 kB / 1.071 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.3994, allocations: 364.2 kB / 1.071 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3997, allocations: 0.7245 MB / 1.072 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.3997, allocations: 23.44 kB / 1.072 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.3998, allocations: 4 kB / 1.072 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.00585/0.4056, allocations: 3.176 MB / 1.075 GB, free: 5.312 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time