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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00144/0.001439, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.39 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003256/0.2859, allocations: 1.897 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2874, allocations: 0.9396 MB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.2876, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2878, allocations: 27.78 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.2882, allocations: 99.59 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.2886, allocations: 138.8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.2889, allocations: 247.3 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.289, allocations: 37.67 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2892, allocations: 115.7 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02251/0.3117, allocations: 1.652 MB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3119, allocations: 16 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.312, allocations: 43.98 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.3121, allocations: 35.84 kB / 1.058 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3123, allocations: 91.55 kB / 1.058 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.3128, allocations: 219.2 kB / 1.058 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3128, allocations: 4 kB / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3128, allocations: 4 kB / 1.058 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3128, allocations: 0 / 1.058 GB, free: 3.516 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.001083/0.3139, allocations: 0.5489 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3139, allocations: 8.625 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.314, allocations: 42.73 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3141, allocations: 24.73 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3145, allocations: 255.7 kB / 1.059 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3145, allocations: 11.98 kB / 1.059 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.3145, allocations: 16 kB / 1.059 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3148, allocations: 108.9 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3148, allocations: 0 / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3148, allocations: 4 kB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3148, allocations: 4 kB / 1.059 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3149, allocations: 55.91 kB / 1.059 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.3158, allocations: 0.5356 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.316, allocations: 97.12 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.3161, allocations: 45.95 kB / 1.06 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3161, allocations: 7.875 kB / 1.06 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3163, allocations: 117.2 kB / 1.06 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3163, allocations: 0 / 1.06 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003981/0.3167, allocations: 176.7 kB / 1.06 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3168, allocations: 77.11 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.317, allocations: 196.4 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3171, allocations: 33.7 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3172, allocations: 124.4 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3172, allocations: 35.55 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3173, allocations: 61.8 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3175, allocations: 330.8 kB / 1.061 GB, free: 372 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.3175, allocations: 31.98 kB / 1.061 GB, free: 340 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.3178, allocations: 141.2 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.318, allocations: 113.9 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.318, allocations: 0 / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002784/0.3182, allocations: 169.3 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3183, allocations: 4 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3183, allocations: 0 / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3183, allocations: 4 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.3184, allocations: 15.98 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3184, allocations: 7.938 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3186, allocations: 27.83 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3187, allocations: 8 kB / 1.061 GB, free: 15.79 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.0001271/0.3188, allocations: 149.2 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3188, allocations: 15.91 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.3189, allocations: 21.52 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3189, allocations: 0 / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3189, allocations: 7.938 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3189, allocations: 3.984 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.3195, allocations: 454.2 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3195, allocations: 7.938 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.3196, allocations: 3.984 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3196, allocations: 4 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3196, allocations: 7.938 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3196, allocations: 4 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3196, allocations: 0 / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3198, allocations: 234.8 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.3199, allocations: 92.86 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3199, allocations: 3.938 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3201, allocations: 15.98 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3201, allocations: 19.97 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3202, allocations: 11.94 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001139/0.3203, allocations: 144.2 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3203, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003284/0.3206, allocations: 55.89 kB / 1.062 GB, free: 14.46 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.0007123/0.3214, allocations: 0.8307 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3216, allocations: 108.1 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3216, allocations: 4.062 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.3217, allocations: 51.91 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3222, allocations: 57.86 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3242, allocations: 1.974 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3245, allocations: 0.7203 MB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.823e-05/0.3246, allocations: 17.55 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.3247, allocations: 55.41 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3247, allocations: 4 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.673/2.998, allocations: 5.275 MB / 1.071 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/2.998, allocations: 282.4 kB / 1.071 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/5.514, allocations: 0 / 1.071 GB, free: 5.051 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