Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0008395/0.0008395, 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.0009239/0.0009239, 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.876/0.876, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.72/1.72, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.044e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00185/0.001861, allocations: 1.728 MB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.00285, allocations: 0.9045 MB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.002898, allocations: 0 / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003019, allocations: 35.5 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.003254, allocations: 127.3 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.003465, allocations: 154.3 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.003661, allocations: 247.3 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.003753, allocations: 25.8 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.003884, allocations: 147.7 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.00873, allocations: 1.688 MB / 0.9858 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.00876, allocations: 16 kB / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.008814, allocations: 35.98 kB / 0.9859 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.008857, allocations: 43.83 kB / 0.9859 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.008916, allocations: 67.81 kB / 0.986 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.009147, allocations: 247.2 kB / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.009149, allocations: 0 / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.11e-07/0.009149, allocations: 0 / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.009153, allocations: 0 / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004628/0.009616, allocations: 0.4887 MB / 0.9867 GB, free: 13.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.009642, allocations: 8.031 kB / 0.9867 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.009669, allocations: 50.73 kB / 0.9868 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.009706, allocations: 24.83 kB / 0.9868 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.00987, allocations: 182 kB / 0.987 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.00988, allocations: 8.125 kB / 0.987 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.009899, allocations: 16 kB / 0.987 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.01001, allocations: 104.1 kB / 0.9871 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.01002, allocations: 0 / 0.9871 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.01003, allocations: 4 kB / 0.9871 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01003, allocations: 4 kB / 0.9871 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.0101, allocations: 47.97 kB / 0.9871 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.01055, allocations: 395.7 kB / 0.9875 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.01079, allocations: 130.7 kB / 0.9876 GB, free: 12.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.01083, allocations: 32.84 kB / 0.9877 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.01084, allocations: 0 / 0.9877 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.01097, allocations: 119.3 kB / 0.9878 GB, free: 11.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.01097, allocations: 0 / 0.9878 GB, free: 11.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0002181/0.01118, allocations: 168.7 kB / 0.988 GB, free: 11.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.01121, allocations: 59.39 kB / 0.988 GB, free: 11.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.01134, allocations: 200 kB / 0.9882 GB, free: 11.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.01136, allocations: 33.7 kB / 0.9882 GB, free: 11.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.01143, allocations: 124.6 kB / 0.9884 GB, free: 11.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.01146, allocations: 31.7 kB / 0.9884 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.01152, allocations: 65.66 kB / 0.9884 GB, free: 11.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.01162, allocations: 326.8 kB / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.01166, allocations: 39.92 kB / 0.9888 GB, free: 10.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.01184, allocations: 240.7 kB / 0.989 GB, free: 10.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.01193, allocations: 98.72 kB / 0.9891 GB, free: 10.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01193, allocations: 3.938 kB / 0.9891 GB, free: 10.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001534/0.01209, allocations: 153.4 kB / 0.9893 GB, free: 10.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.0121, allocations: 10.47 kB / 0.9893 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.0121, allocations: 0 / 0.9893 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.01211, allocations: 4 kB / 0.9893 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.893e-05/0.01215, allocations: 15.98 kB / 0.9893 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.01215, allocations: 3.938 kB / 0.9893 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.01225, allocations: 23.94 kB / 0.9893 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.01226, allocations: 8 kB / 0.9893 GB, free: 10.15 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.177e-05/0.01235, allocations: 143.7 kB / 0.9895 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.01237, allocations: 19.84 kB / 0.9895 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.01239, allocations: 21.81 kB / 0.9895 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01239, allocations: 4 kB / 0.9895 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.0124, allocations: 3.938 kB / 0.9895 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.0124, allocations: 8.016 kB / 0.9895 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.01279, allocations: 453.3 kB / 0.99 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.01279, allocations: 0 / 0.99 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.01281, allocations: 7.938 kB / 0.99 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01281, allocations: 0 / 0.99 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.01282, allocations: 4 kB / 0.99 GB, free: 9.438 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01282, allocations: 4 kB / 0.99 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01282, allocations: 0 / 0.99 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.01296, allocations: 235.3 kB / 0.9902 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.01298, allocations: 11.91 kB / 0.9902 GB, free: 9.176 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01299, allocations: 7.984 kB / 0.9902 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.01306, allocations: 15.98 kB / 0.9902 GB, free: 9.152 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.0131, allocations: 27.84 kB / 0.9903 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01312, allocations: 4 kB / 0.9903 GB, free: 9.121 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000113/0.01323, allocations: 148.2 kB / 0.9904 GB, free: 8.977 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 0.9904 GB, free: 8.977 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000214/0.01344, allocations: 59.88 kB / 0.9905 GB, free: 8.918 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0004641/0.01391, allocations: 0.8225 MB / 0.9913 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.01406, allocations: 107.8 kB / 0.9914 GB, free: 7.984 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01406, allocations: 0 / 0.9914 GB, free: 7.984 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.01412, allocations: 43.92 kB / 0.9914 GB, free: 7.941 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01439, allocations: 58.08 kB / 0.9915 GB, free: 7.891 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.01573, allocations: 1.916 MB / 0.9933 GB, free: 5.867 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.0158, allocations: 112.1 kB / 0.9934 GB, free: 5.742 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.01585, allocations: 21.62 kB / 0.9935 GB, free: 5.723 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.01591, allocations: 60.47 kB / 0.9935 GB, free: 5.66 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/0.01591, allocations: 4 kB / 0.9935 GB, free: 5.656 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.03437, allocations: 6.599 MB / 1 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.021, allocations: 5.047 kB / 1 GB, free: 15.26 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 10.997875107452273]