Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008009/0.0008009, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008685/0.0008685, allocations: 165.9 kB / 22.46 MB, free: 2.098 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.9299/0.9299, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.754/1.754, 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.424e-05, allocations: 10.22 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002239/0.002253, allocations: 1.724 MB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.00339, allocations: 0.9006 MB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.003489, allocations: 4 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.003705, allocations: 39.47 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.00415, allocations: 119.4 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.004533, allocations: 159.6 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.004774, allocations: 243.3 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004893, allocations: 25.8 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.005039, allocations: 155.7 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.01008, allocations: 1.637 MB / 0.9858 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.01012, allocations: 20 kB / 0.9858 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.0102, allocations: 47.86 kB / 0.9859 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.01026, allocations: 39.83 kB / 0.9859 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.01033, allocations: 67.81 kB / 0.986 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.01061, allocations: 239.3 kB / 0.9862 GB, free: 13.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01062, allocations: 0 / 0.9862 GB, free: 13.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01062, allocations: 0 / 0.9862 GB, free: 13.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.01062, allocations: 0 / 0.9862 GB, free: 13.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005856/0.01121, allocations: 496.6 kB / 0.9867 GB, free: 13.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.01124, allocations: 15.97 kB / 0.9867 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.01127, allocations: 42.73 kB / 0.9867 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.01132, allocations: 20.84 kB / 0.9868 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.01152, allocations: 182 kB / 0.9869 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.01153, allocations: 16.12 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.01155, allocations: 12 kB / 0.987 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.01171, allocations: 126 kB / 0.9871 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.01171, allocations: 0 / 0.9871 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.01173, allocations: 11.92 kB / 0.9871 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01173, allocations: 4 kB / 0.9871 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.01182, allocations: 51.97 kB / 0.9871 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.01236, allocations: 483.7 kB / 0.9876 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.01249, allocations: 97.25 kB / 0.9877 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.01253, allocations: 33.77 kB / 0.9877 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.01255, allocations: 8 kB / 0.9877 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.01269, allocations: 125 kB / 0.9879 GB, free: 11.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.01269, allocations: 3.938 kB / 0.9879 GB, free: 11.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002472/0.01294, allocations: 161.2 kB / 0.988 GB, free: 11.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.01299, allocations: 96.97 kB / 0.9881 GB, free: 11.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01313, allocations: 200.1 kB / 0.9883 GB, free: 11.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01315, allocations: 33.7 kB / 0.9883 GB, free: 11.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.01322, allocations: 116.6 kB / 0.9884 GB, free: 11.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.01324, allocations: 43.69 kB / 0.9885 GB, free: 11.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.0133, allocations: 61.8 kB / 0.9885 GB, free: 11.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.01338, allocations: 330.8 kB / 0.9889 GB, free: 10.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.01342, allocations: 31.98 kB / 0.9889 GB, free: 10.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.01362, allocations: 240.2 kB / 0.9891 GB, free: 10.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.876e-05/0.01372, allocations: 113.8 kB / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01372, allocations: 0 / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001678/0.01389, allocations: 165.4 kB / 0.9894 GB, free: 10.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.0139, allocations: 8 kB / 0.9894 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01391, allocations: 0 / 0.9894 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01392, allocations: 4 kB / 0.9894 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.01397, allocations: 15.94 kB / 0.9894 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01398, allocations: 7.984 kB / 0.9894 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01409, allocations: 27.88 kB / 0.9894 GB, free: 9.992 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.0141, allocations: 4 kB / 0.9894 GB, free: 9.988 MB / 0.948 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 8.718e-05/0.01418, allocations: 147.9 kB / 0.9896 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.0142, allocations: 19.89 kB / 0.9896 GB, free: 9.816 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.01423, allocations: 17.47 kB / 0.9896 GB, free: 9.797 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01423, allocations: 0 / 0.9896 GB, free: 9.797 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01424, allocations: 4 kB / 0.9896 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01424, allocations: 96 / 0.9896 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.0146, allocations: 433.3 kB / 0.99 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0146, allocations: 0 / 0.99 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.01462, allocations: 8 kB / 0.99 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01462, allocations: 4 kB / 0.99 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01463, allocations: 11.92 kB / 0.9901 GB, free: 9.297 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01463, allocations: 7.938 kB / 0.9901 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01463, allocations: 0 / 0.9901 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.01478, allocations: 233.2 kB / 0.9903 GB, free: 9.047 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.0148, allocations: 23.83 kB / 0.9903 GB, free: 9.023 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.01482, allocations: 0 / 0.9903 GB, free: 9.023 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.01488, allocations: 15.98 kB / 0.9903 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.01494, allocations: 23.91 kB / 0.9903 GB, free: 8.984 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01495, allocations: 8 kB / 0.9904 GB, free: 8.977 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.01504, allocations: 148.2 kB / 0.9905 GB, free: 8.832 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01504, allocations: 0 / 0.9905 GB, free: 8.832 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002175/0.01525, allocations: 47.94 kB / 0.9905 GB, free: 8.785 MB / 0.948 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.0005342/0.01579, allocations: 0.8336 MB / 0.9914 GB, free: 7.945 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.01595, allocations: 95.83 kB / 0.9914 GB, free: 7.852 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01595, allocations: 0 / 0.9914 GB, free: 7.852 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.01601, allocations: 43.92 kB / 0.9915 GB, free: 7.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01628, allocations: 67.2 kB / 0.9916 GB, free: 7.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.01768, allocations: 1.938 MB / 0.9934 GB, free: 5.691 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.01775, allocations: 112.5 kB / 0.9936 GB, free: 5.562 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.01781, allocations: 21.62 kB / 0.9936 GB, free: 5.543 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.01788, allocations: 64.47 kB / 0.9936 GB, free: 5.477 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.01788, allocations: 0 / 0.9936 GB, free: 5.477 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.0349, allocations: 6.537 MB / 1 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/6.983, allocations: 2.188 kB / 1 GB, free: 15.14 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.142318302765489]