Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.91 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.8102, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002695/0.8129, allocations: 1.766 MB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.8143, allocations: 0.9169 MB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.8143, allocations: 1.812 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.8145, allocations: 33.11 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.8148, allocations: 120.8 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.8152, allocations: 153.3 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.8154, allocations: 239 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.8156, allocations: 34.12 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.8157, allocations: 112.5 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.8277, allocations: 1.672 MB / 1.276 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.784e-05/0.8277, allocations: 18.09 kB / 1.276 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.8279, allocations: 38.05 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.828, allocations: 46.19 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.8281, allocations: 86.58 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.8284, allocations: 218.2 kB / 1.277 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8284, allocations: 0.75 kB / 1.277 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8284, allocations: 0 / 1.277 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.8284, allocations: 1.5 kB / 1.277 GB, free: 4.949 MB / 0.9981 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.0007085/0.8292, allocations: 0.5669 MB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8292, allocations: 12.72 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.8292, allocations: 40.44 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.8293, allocations: 22.3 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.8295, allocations: 245.9 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8295, allocations: 9.75 kB / 1.278 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.8296, allocations: 14.81 kB / 1.278 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.8298, allocations: 114.7 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8298, allocations: 0 / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.8298, allocations: 12.48 kB / 1.278 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8298, allocations: 6.062 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.8299, allocations: 50.27 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.8306, allocations: 0.5433 MB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.8308, allocations: 91.28 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.8308, allocations: 39.48 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.8308, allocations: 5.781 kB / 1.278 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.831, allocations: 125 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.831, allocations: 0 / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003097/0.8314, allocations: 158.2 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.8314, allocations: 87.44 kB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.8315, allocations: 199.8 kB / 1.279 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.8316, allocations: 29.39 kB / 1.279 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.8316, allocations: 128.3 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.8317, allocations: 35.59 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.8317, allocations: 59.84 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.8318, allocations: 328.5 kB / 1.279 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.8319, allocations: 29.86 kB / 1.28 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.8321, allocations: 146.3 kB / 1.28 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.8322, allocations: 113.1 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8322, allocations: 4.906 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002202/0.8324, allocations: 156.2 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8324, allocations: 9.688 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8324, allocations: 2.188 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8324, allocations: 9.453 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.8325, allocations: 12.09 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8325, allocations: 3.234 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.8327, allocations: 28.88 kB / 1.28 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.8327, allocations: 10.16 kB / 1.28 GB, free: 2.246 MB / 0.9981 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 9.709e-05/0.8328, allocations: 139.9 kB / 1.28 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.8329, allocations: 16.88 kB / 1.28 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.8329, allocations: 24.17 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8329, allocations: 2.562 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.8329, allocations: 0.6562 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.8329, allocations: 2.609 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.8335, allocations: 471.3 kB / 1.281 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8335, allocations: 0.6875 kB / 1.281 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.8335, allocations: 9.141 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8335, allocations: 0.6562 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.8335, allocations: 18.47 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.8335, allocations: 2.312 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8335, allocations: 3.938 kB / 1.281 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.8337, allocations: 232 kB / 1.281 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.8338, allocations: 90.09 kB / 1.281 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.8338, allocations: 6.5 kB / 1.281 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.8339, allocations: 19.2 kB / 1.281 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.834, allocations: 22.61 kB / 1.281 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.834, allocations: 8.375 kB / 1.281 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001149/0.8342, allocations: 145.5 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8342, allocations: 0.9688 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003177/0.8345, allocations: 48.25 kB / 1.281 GB, free: 1.289 MB / 0.9981 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.0005999/0.8351, allocations: 0.8378 MB / 1.282 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.8353, allocations: 96.72 kB / 1.282 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8353, allocations: 0 / 1.282 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.8354, allocations: 44.22 kB / 1.282 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.8358, allocations: 67.5 kB / 1.282 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.8378, allocations: 1.935 MB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.8381, allocations: 0.724 MB / 1.285 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.8382, allocations: 21.11 kB / 1.285 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.8383, allocations: 58.28 kB / 1.285 GB, free: 14.19 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8383, allocations: 0 / 1.285 GB, free: 14.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.8664, allocations: 5.56 MB / 1.29 GB, free: 13.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/8.168, allocations: 8.781 kB / 1.29 GB, free: 13.44 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.445490277999852]