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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8914/0.8914, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.086e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002964/0.002984, allocations: 1.733 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.004468, allocations: 0.9005 MB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.004555, allocations: 8 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.004759, allocations: 31.66 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.005137, allocations: 119.3 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.005469, allocations: 158.5 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.005794, allocations: 243.3 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.005931, allocations: 29.78 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.006082, allocations: 151.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005982/0.01206, allocations: 1.973 MB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.01211, allocations: 16 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.01219, allocations: 47.91 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.01225, allocations: 35.84 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.01232, allocations: 67.81 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.01265, allocations: 243.2 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01265, allocations: 0 / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01265, allocations: 3.938 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.01266, allocations: 0 / 1.005 GB, free: 8.316 MB / 0.9636 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.000744/0.0134, allocations: 0.4928 MB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.01345, allocations: 8.75 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.0135, allocations: 46.73 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.01358, allocations: 24.8 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.01388, allocations: 182.8 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.0139, allocations: 16.12 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.01393, allocations: 12 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.01415, allocations: 111.4 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01416, allocations: 3.938 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.01417, allocations: 7.984 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.01418, allocations: 4 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.0143, allocations: 51.88 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.01512, allocations: 491.7 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.01529, allocations: 89.25 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.01536, allocations: 41.77 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.01538, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.01561, allocations: 117 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 2.866e-06/0.01561, allocations: 7.984 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003085/0.01592, allocations: 161.4 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.01597, allocations: 85.09 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01612, allocations: 190.8 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.01614, allocations: 37.69 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.01622, allocations: 136.5 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.01624, allocations: 27.75 kB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.0163, allocations: 61.67 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.01638, allocations: 330.8 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.01643, allocations: 31.98 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01663, allocations: 244.3 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01674, allocations: 125.4 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01674, allocations: 4 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001732/0.01691, allocations: 153.4 kB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01693, allocations: 8.156 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01693, allocations: 8 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01695, allocations: 0 / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.01701, allocations: 15.94 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01702, allocations: 7.984 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.01714, allocations: 27.88 kB / 1.008 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.01714, allocations: 8 kB / 1.008 GB, free: 4.684 MB / 0.9636 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.829e-05/0.01724, allocations: 143.7 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.01726, allocations: 19.86 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.0173, allocations: 25.45 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.0173, allocations: 4 kB / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01731, allocations: 0 / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01731, allocations: 0 / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.0177, allocations: 429.3 kB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0177, allocations: 0 / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.01772, allocations: 4 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01772, allocations: 0 / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01773, allocations: 7.984 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01773, allocations: 0 / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01773, allocations: 4 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.01789, allocations: 232.2 kB / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01791, allocations: 23.78 kB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01793, allocations: 0 / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.018, allocations: 15.98 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.01806, allocations: 23.91 kB / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.01808, allocations: 4 kB / 1.009 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.01817, allocations: 146.7 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01817, allocations: 0 / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002342/0.0184, allocations: 43.98 kB / 1.01 GB, free: 3.504 MB / 0.9636 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.0006091/0.01901, allocations: 0.8421 MB / 1.01 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.01919, allocations: 95.83 kB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01919, allocations: 4 kB / 1.01 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.01926, allocations: 43.92 kB / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.01956, allocations: 57.39 kB / 1.011 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02103, allocations: 1.926 MB / 1.012 GB, free: 416 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.623e-05/0.02111, allocations: 112.2 kB / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.02118, allocations: 33.64 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.02125, allocations: 52.48 kB / 1.013 GB, free: 196 kB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.02125, allocations: 0 / 1.013 GB, free: 196 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.04133, allocations: 6.548 MB / 1.019 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.155, allocations: 14.66 kB / 1.019 GB, free: 9.848 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.27034541592002]