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.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.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.00542/0.005419, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001421/0.001421, allocations: 196.2 kB / 16.67 MB, free: 5.977 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 / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2841, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003952/0.2881, allocations: 1.74 MB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.2905, allocations: 0.901 MB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2908, allocations: 4 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.291, allocations: 27.67 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.2917, allocations: 123.4 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.2923, allocations: 157.1 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.2928, allocations: 235.4 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.293, allocations: 45.66 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.2933, allocations: 107.7 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.3059, allocations: 1.986 MB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3061, allocations: 16 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.3062, allocations: 43.97 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.3063, allocations: 39.84 kB / 1.213 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3065, allocations: 103.4 kB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.307, allocations: 215.3 kB / 1.213 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.307, allocations: 0 / 1.213 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.307, allocations: 0 / 1.213 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.307, allocations: 0 / 1.213 GB, free: 4.996 MB / 0.9669 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.000967/0.308, allocations: 0.5605 MB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.308, allocations: 8.625 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.3081, allocations: 42.73 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/0.3082, allocations: 24.69 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3085, allocations: 243.8 kB / 1.214 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3085, allocations: 8 kB / 1.214 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.3086, allocations: 23.97 kB / 1.214 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3088, allocations: 116.7 kB / 1.214 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3088, allocations: 0 / 1.214 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3088, allocations: 4 kB / 1.214 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3088, allocations: 4 kB / 1.214 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3089, allocations: 51.97 kB / 1.214 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.3098, allocations: 0.5395 MB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.31, allocations: 101.2 kB / 1.215 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3101, allocations: 41.77 kB / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3101, allocations: 11.94 kB / 1.215 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.3105, allocations: 115.6 kB / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3105, allocations: 0 / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.00038/0.3109, allocations: 164.1 kB / 1.215 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3109, allocations: 85.16 kB / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3111, allocations: 208.3 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3112, allocations: 33.7 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.3113, allocations: 120.5 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3113, allocations: 27.56 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.3114, allocations: 61.67 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3116, allocations: 330.8 kB / 1.216 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.3116, allocations: 31.98 kB / 1.216 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3119, allocations: 143.7 kB / 1.216 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3121, allocations: 113.9 kB / 1.216 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3121, allocations: 0 / 1.216 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002691/0.3123, allocations: 158.6 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3124, allocations: 8 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3124, allocations: 0 / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3124, allocations: 7.938 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.3125, allocations: 24.08 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3125, allocations: 4 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3128, allocations: 27.83 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3128, allocations: 8 kB / 1.216 GB, free: 1.258 MB / 0.9669 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.0001489/0.3129, allocations: 143.5 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.313, allocations: 15.81 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.313, allocations: 17.53 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.313, allocations: 0 / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.313, allocations: 8.094 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3131, allocations: 7.969 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3137, allocations: 466.1 kB / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3137, allocations: 0 / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.3137, allocations: 11.98 kB / 1.217 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3137, allocations: 4 kB / 1.217 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3138, allocations: 3.938 kB / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3138, allocations: 0 / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3138, allocations: 8 kB / 1.217 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.314, allocations: 228.9 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3141, allocations: 92.86 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.3141, allocations: 7.938 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3142, allocations: 15.98 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.3143, allocations: 23.97 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3143, allocations: 4 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001332/0.3145, allocations: 148.2 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3145, allocations: 3.938 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003179/0.3148, allocations: 43.98 kB / 1.217 GB, free: 15.93 MB / 0.9825 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.0006742/0.3155, allocations: 0.8378 MB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3157, allocations: 106.1 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3158, allocations: 0 / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.3158, allocations: 53.92 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3163, allocations: 52.77 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3184, allocations: 1.92 MB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3186, allocations: 0.7203 MB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.3187, allocations: 29.45 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3188, allocations: 59.41 kB / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3189, allocations: 0 / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.3413, allocations: 5.642 MB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.319, allocations: 2.188 kB / 1.227 GB, free: 6.547 MB / 0.9825 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) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y