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.00627/0.00627, allocations: 97.89 kB / 15.73 MB, free: 6.051 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.001174/0.001175, allocations: 194.6 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.354/2.354, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 61.72 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2914, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003469/0.295, allocations: 1.739 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2965, allocations: 0.893 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2966, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.2969, allocations: 27.72 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.2974, allocations: 115.5 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.2979, allocations: 161.9 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.2982, allocations: 239.3 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2984, allocations: 45.64 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.2986, allocations: 115.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009432/0.308, allocations: 1.659 MB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.3081, allocations: 16 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.012e-05/0.3082, allocations: 40 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.3082, allocations: 47.77 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.3083, allocations: 87.56 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.3087, allocations: 216.2 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3087, allocations: 4 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3087, allocations: 0 / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3087, allocations: 0 / 1.093 GB, free: 13.02 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.0007581/0.3095, allocations: 0.5527 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3095, allocations: 12.03 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.3095, allocations: 46.73 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.3096, allocations: 24.66 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3099, allocations: 247.3 kB / 1.094 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3099, allocations: 11.94 kB / 1.094 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3099, allocations: 12 kB / 1.094 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3102, allocations: 117.2 kB / 1.094 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3102, allocations: 0 / 1.094 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3102, allocations: 4 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3102, allocations: 4 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3103, allocations: 55 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.3111, allocations: 0.5396 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3113, allocations: 101.1 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.3113, allocations: 33.78 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3113, allocations: 11.92 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.3116, allocations: 125.2 kB / 1.095 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3116, allocations: 0 / 1.095 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003035/0.3119, allocations: 161.4 kB / 1.095 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3119, allocations: 85.23 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3121, allocations: 206.2 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3122, allocations: 37.64 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.3123, allocations: 120.4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3123, allocations: 39.59 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.3124, allocations: 57.67 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.3125, allocations: 326.8 kB / 1.096 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.3125, allocations: 31.98 kB / 1.096 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3128, allocations: 142.5 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3129, allocations: 111.6 kB / 1.096 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3129, allocations: 4 kB / 1.096 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002274/0.3132, allocations: 157.4 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3132, allocations: 4 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3132, allocations: 4 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3132, allocations: 4.234 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.3133, allocations: 23.92 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3133, allocations: 4 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3135, allocations: 27.83 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3136, allocations: 11.98 kB / 1.096 GB, free: 9.277 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.0001147/0.3137, allocations: 139.5 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3137, allocations: 15.81 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.3138, allocations: 21.52 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3138, allocations: 8 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3138, allocations: 0 / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3138, allocations: 0 / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.3143, allocations: 473.7 kB / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3144, allocations: 0 / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.3144, allocations: 11.94 kB / 1.097 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3144, allocations: 0 / 1.097 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3144, allocations: 7.938 kB / 1.097 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3144, allocations: 4 kB / 1.097 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3144, allocations: 7.938 kB / 1.097 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3146, allocations: 228.1 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3147, allocations: 92.92 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3147, allocations: 7.922 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3149, allocations: 15.98 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3149, allocations: 15.98 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.315, allocations: 15.98 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001079/0.3151, allocations: 136.5 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 3.938 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003089/0.3154, allocations: 51.91 kB / 1.097 GB, free: 7.949 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.0006224/0.316, allocations: 0.8341 MB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3162, allocations: 95.84 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3162, allocations: 3.938 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.3163, allocations: 55.92 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3168, allocations: 52.69 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3186, allocations: 1.93 MB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3189, allocations: 0.728 MB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.3189, allocations: 25.53 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.319, allocations: 59.41 kB / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.319, allocations: 0 / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3406, allocations: 5.636 MB / 1.106 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.816, allocations: 9.219 kB / 1.106 GB, free: 14.5 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) "" 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