Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_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.008014/0.008014, allocations: 102.8 kB / 15.73 MB, free: 5.961 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.001611/0.001611, allocations: 190 kB / 16.67 MB, free: 5.883 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61.14 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2764, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003032/0.2795, allocations: 1.743 MB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2812, allocations: 0.8968 MB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2814, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.2816, allocations: 31.66 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.2821, allocations: 119.4 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.2825, allocations: 145.8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2828, allocations: 243.3 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.283, allocations: 49.62 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2832, allocations: 107.7 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009775/0.293, allocations: 1.666 MB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.2931, allocations: 16 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2932, allocations: 39.98 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.2933, allocations: 39.89 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2934, allocations: 99.44 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.2939, allocations: 216.2 kB / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2939, allocations: 0 / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2939, allocations: 0 / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2939, allocations: 0 / 1.093 GB, free: 13.07 MB / 0.8575 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.0009368/0.2949, allocations: 0.5544 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2949, allocations: 8.031 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.295, allocations: 46.67 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.974e-05/0.2951, allocations: 28.66 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.2954, allocations: 235.4 kB / 1.094 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2954, allocations: 12 kB / 1.094 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2954, allocations: 19.98 kB / 1.094 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2957, allocations: 119.3 kB / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2957, allocations: 0 / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2957, allocations: 0 / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2957, allocations: 7.984 kB / 1.094 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.2959, allocations: 55.88 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.2968, allocations: 0.5395 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.297, allocations: 101.2 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.2971, allocations: 37.77 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2971, allocations: 11.94 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.2974, allocations: 121.1 kB / 1.095 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2974, allocations: 0 / 1.095 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003738/0.2978, allocations: 153.5 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2978, allocations: 89.16 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2981, allocations: 214.2 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.2981, allocations: 33.7 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.2982, allocations: 120.4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2982, allocations: 27.61 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2984, allocations: 61.67 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2985, allocations: 334.8 kB / 1.096 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.2986, allocations: 31.98 kB / 1.096 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.2988, allocations: 137.3 kB / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.299, allocations: 113.9 kB / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.299, allocations: 0 / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002692/0.2993, allocations: 160.7 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2993, allocations: 8 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2993, allocations: 0 / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2993, allocations: 4 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.2994, allocations: 24.08 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2994, allocations: 4 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2997, allocations: 27.83 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2997, allocations: 8 kB / 1.096 GB, free: 9.336 MB / 0.8575 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.0001473/0.2999, allocations: 145.4 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.2999, allocations: 15.81 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.3, allocations: 21.53 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3, allocations: 0 / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3, allocations: 4 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3, allocations: 7.984 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.3007, allocations: 458.2 kB / 1.097 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3007, allocations: 0 / 1.097 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.3007, allocations: 7.984 kB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.3007, allocations: 8 kB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3008, allocations: 3.938 kB / 1.097 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3008, allocations: 0 / 1.097 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3008, allocations: 4 kB / 1.097 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3011, allocations: 240.1 kB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.3012, allocations: 96.86 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3012, allocations: 7.938 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3014, allocations: 15.92 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.3015, allocations: 23.97 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3015, allocations: 4 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001717/0.3017, allocations: 144.5 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3017, allocations: 0 / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000384/0.3021, allocations: 55.89 kB / 1.097 GB, free: 8 MB / 0.8575 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.0009463/0.303, allocations: 0.8269 MB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.3033, allocations: 107.8 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3034, allocations: 0 / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3035, allocations: 51.92 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.304, allocations: 64.36 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.3067, allocations: 1.921 MB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.307, allocations: 0.728 MB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.3071, allocations: 25.52 kB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3073, allocations: 51.42 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of SimCode: time 6.92e-07/0.3073, allocations: 0 / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3313, allocations: 5.541 MB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.92, allocations: 4 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches