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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 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.00122/0.001221, allocations: 197 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.95 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003334/0.294, allocations: 1.737 MB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2957, allocations: 0.905 MB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2958, allocations: 3.938 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.2961, allocations: 31.72 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.2965, allocations: 111.5 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.297, allocations: 155.7 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.2973, allocations: 239.4 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2974, allocations: 37.67 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.2976, allocations: 111.7 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009639/0.3073, allocations: 1.66 MB / 1.058 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.3073, allocations: 16 kB / 1.058 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3075, allocations: 36 kB / 1.058 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.3075, allocations: 39.91 kB / 1.058 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3077, allocations: 103.4 kB / 1.058 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3081, allocations: 215.3 kB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3081, allocations: 0 / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3081, allocations: 3.938 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3081, allocations: 0 / 1.058 GB, free: 3.312 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.0008054/0.3089, allocations: 0.5411 MB / 1.059 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3089, allocations: 16.62 kB / 1.059 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.309, allocations: 38.73 kB / 1.059 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.3091, allocations: 20.75 kB / 1.059 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3094, allocations: 259.6 kB / 1.059 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3094, allocations: 12 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.3094, allocations: 15.98 kB / 1.059 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3096, allocations: 112.4 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3097, allocations: 0 / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3097, allocations: 8 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3097, allocations: 0 / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3098, allocations: 59.91 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.3106, allocations: 0.5395 MB / 1.06 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.3108, allocations: 93.14 kB / 1.06 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.3109, allocations: 41.89 kB / 1.06 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3109, allocations: 3.938 kB / 1.06 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3111, allocations: 136 kB / 1.06 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3112, allocations: 0 / 1.06 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003436/0.3115, allocations: 163.4 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3116, allocations: 81.11 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3118, allocations: 196.4 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.3118, allocations: 37.83 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.3119, allocations: 124.4 kB / 1.061 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.312, allocations: 31.55 kB / 1.061 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.3121, allocations: 61.67 kB / 1.061 GB, free: 500 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3122, allocations: 330.8 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.3123, allocations: 31.98 kB / 1.061 GB, free: 128 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.3125, allocations: 147.3 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3127, allocations: 113.8 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3127, allocations: 0 / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000249/0.313, allocations: 153.3 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.313, allocations: 8 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.313, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.313, allocations: 7.938 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.3131, allocations: 19.92 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3131, allocations: 160 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3134, allocations: 31.83 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3134, allocations: 12 kB / 1.061 GB, free: 15.59 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.0001328/0.3135, allocations: 139.5 kB / 1.062 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3136, allocations: 19.75 kB / 1.062 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.3136, allocations: 21.53 kB / 1.062 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3136, allocations: 4 kB / 1.062 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3136, allocations: 4.078 kB / 1.062 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3137, allocations: 3.984 kB / 1.062 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.3144, allocations: 470.2 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3144, allocations: 3.984 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.3144, allocations: 4 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3144, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3144, allocations: 7.938 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3144, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3144, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3147, allocations: 232.1 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.3147, allocations: 92.86 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3148, allocations: 11.94 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3149, allocations: 15.97 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.315, allocations: 15.98 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.315, allocations: 8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001231/0.3152, allocations: 148.2 kB / 1.063 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3152, allocations: 0 / 1.063 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003277/0.3155, allocations: 51.89 kB / 1.063 GB, free: 14.26 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.0007497/0.3163, allocations: 0.8292 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3165, allocations: 119.8 kB / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3165, allocations: 0 / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.3166, allocations: 52.92 kB / 1.064 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.3171, allocations: 47.66 kB / 1.064 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3193, allocations: 1.929 MB / 1.066 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3196, allocations: 0.7203 MB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.89e-05/0.3197, allocations: 25.55 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.3198, allocations: 59.41 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3198, allocations: 0 / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3442, allocations: 5.468 MB / 1.072 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.924, allocations: 12.14 kB / 1.072 GB, free: 5.016 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > 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