Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0008648/0.0008648, 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.0009697/0.0009697, allocations: 169.9 kB / 22.46 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.955/0.955, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.856/1.856, allocations: 389 MB / 0.633 GB, free: 12.7 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.293e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003028/0.003051, allocations: 1.725 MB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.00435, allocations: 0.9044 MB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.004422, allocations: 4 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.004621, allocations: 27.61 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.004992, allocations: 123.4 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.005274, allocations: 154.8 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.005517, allocations: 251.3 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005677, allocations: 29.78 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.005843, allocations: 147.7 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.01083, allocations: 1.654 MB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.01087, allocations: 16 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.01097, allocations: 35.94 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.01103, allocations: 43.83 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.01111, allocations: 75.8 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.01142, allocations: 235.3 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01143, allocations: 0 / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01143, allocations: 3.938 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.01143, allocations: 0 / 1.005 GB, free: 8.527 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.0007655/0.0122, allocations: 0.4927 MB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.01224, allocations: 12.75 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.01228, allocations: 34.75 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.01235, allocations: 28.8 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.0126, allocations: 182.9 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01262, allocations: 16.12 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.01265, allocations: 12 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.01285, allocations: 115.3 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.01286, allocations: 0 / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.01287, allocations: 4 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01288, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.01299, allocations: 55.88 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.01372, allocations: 491.7 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.0139, allocations: 93.14 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.01396, allocations: 37.7 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01399, allocations: 4 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01416, allocations: 125.1 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.01417, allocations: 7.938 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002677/0.01443, allocations: 161.4 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.01449, allocations: 85.11 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.01463, allocations: 194.8 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01465, allocations: 37.64 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.01473, allocations: 124.5 kB / 1.007 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.01475, allocations: 39.73 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.01481, allocations: 57.67 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.01489, allocations: 326.8 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.01493, allocations: 31.98 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.01515, allocations: 244.3 kB / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.01526, allocations: 121.8 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01526, allocations: 0 / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001668/0.01543, allocations: 160.5 kB / 1.008 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01544, allocations: 8 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01545, allocations: 4.156 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01546, allocations: 4 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.01552, allocations: 19.92 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01553, allocations: 4 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01565, allocations: 27.88 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01565, allocations: 4 kB / 1.008 GB, free: 4.898 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.154e-05/0.01574, allocations: 147.7 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.01576, allocations: 19.86 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.0158, allocations: 21.45 kB / 1.008 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0158, allocations: 4 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.0158, allocations: 4 kB / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01581, allocations: 0 / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.01619, allocations: 421.3 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01619, allocations: 3.984 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.01621, allocations: 7.938 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01621, allocations: 0 / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01622, allocations: 7.938 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01622, allocations: 4 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01622, allocations: 4 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.01637, allocations: 224.2 kB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01639, allocations: 23.8 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.0164, allocations: 4 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.01647, allocations: 19.97 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.01652, allocations: 23.91 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.01654, allocations: 8 kB / 1.009 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.669e-05/0.01663, allocations: 142.7 kB / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01663, allocations: 0 / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002175/0.01685, allocations: 40 kB / 1.009 GB, free: 3.715 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.0005489/0.0174, allocations: 0.8378 MB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.01756, allocations: 91.84 kB / 1.01 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01757, allocations: 0 / 1.01 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.01763, allocations: 51.86 kB / 1.01 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01791, allocations: 54.69 kB / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.01937, allocations: 1.953 MB / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.01944, allocations: 108.3 kB / 1.012 GB, free: 484 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.0195, allocations: 25.62 kB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.01958, allocations: 60.41 kB / 1.012 GB, free: 396 kB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/0.01958, allocations: 0 / 1.012 GB, free: 396 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.03875, allocations: 6.553 MB / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.96, allocations: 10.06 kB / 1.019 GB, free: 10.02 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.235839439556003]