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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001398/0.001399, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.11 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2751, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003152/0.2783, allocations: 1.907 MB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2798, allocations: 0.9397 MB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.28, allocations: 7.938 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.2802, allocations: 27.8 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.2805, allocations: 95.64 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.2808, allocations: 134.8 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.2811, allocations: 235.3 kB / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2812, allocations: 33.67 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.2814, allocations: 103.6 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02697/0.3083, allocations: 1.823 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/0.3084, allocations: 12 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.3086, allocations: 24 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3087, allocations: 43.81 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3088, allocations: 83.52 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3092, allocations: 211.3 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3092, allocations: 0 / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3092, allocations: 0 / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3092, allocations: 4 kB / 1.058 GB, free: 2.965 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.001009/0.3102, allocations: 0.5411 MB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3103, allocations: 11.97 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3103, allocations: 42.73 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.3104, allocations: 28.75 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.3107, allocations: 247.2 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3107, allocations: 8 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3107, allocations: 16 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.311, allocations: 115.3 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.311, allocations: 3.938 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.311, allocations: 0 / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.311, allocations: 4 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3111, allocations: 55.97 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.3119, allocations: 0.5473 MB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3121, allocations: 101.2 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.3122, allocations: 33.78 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3122, allocations: 3.938 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.3125, allocations: 121.2 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3125, allocations: 0 / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003728/0.3129, allocations: 165.3 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3129, allocations: 85.11 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.3133, allocations: 196.3 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.3134, allocations: 33.7 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3135, allocations: 124.5 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.3136, allocations: 43.53 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.3137, allocations: 57.67 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3138, allocations: 326.8 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.3139, allocations: 35.98 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3142, allocations: 147.3 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3143, allocations: 113.2 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3143, allocations: 8 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002613/0.3146, allocations: 153.4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3146, allocations: 7.984 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3147, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3147, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.3148, allocations: 19.94 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3148, allocations: 7.984 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.315, allocations: 35.97 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.315, allocations: 8 kB / 1.061 GB, free: 15.23 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.0001479/0.3152, allocations: 139.5 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3152, allocations: 15.81 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.3153, allocations: 21.52 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3153, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3153, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3153, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.3159, allocations: 474.2 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.316, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.316, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.316, allocations: 3.938 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.316, allocations: 3.938 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.316, allocations: 4 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.316, allocations: 3.984 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3163, allocations: 228.1 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.3164, allocations: 92.86 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.3164, allocations: 11.92 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3166, allocations: 11.98 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.3167, allocations: 23.91 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.3167, allocations: 8 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3168, allocations: 148.2 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3168, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003323/0.3172, allocations: 47.91 kB / 1.062 GB, free: 13.91 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.0007461/0.3179, allocations: 0.8378 MB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3181, allocations: 99.84 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3182, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.3183, allocations: 53.67 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3187, allocations: 49.16 kB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3209, allocations: 1.952 MB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3213, allocations: 0.7167 MB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.298e-05/0.3214, allocations: 25.52 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.3215, allocations: 59.41 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3215, allocations: 0 / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.3376, allocations: 5.152 MB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.3379, allocations: 286.6 kB / 1.071 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.188, allocations: 4 kB / 1.071 GB, free: 4.617 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > 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