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.0008307/0.0008307, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000835/0.000835, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8902/0.8902, allocations: 177.2 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.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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.472e-06/1.472e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.888e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00212/0.002138, allocations: 1.727 MB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003383, allocations: 0.8966 MB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.003472, allocations: 7.938 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.003649, allocations: 35.64 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.003996, allocations: 123.3 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.004374, allocations: 161.4 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.004603, allocations: 243.3 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.004715, allocations: 21.8 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004864, allocations: 151.7 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005051/0.009916, allocations: 1.689 MB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.009957, allocations: 20 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.01004, allocations: 32 kB / 0.9859 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.01012, allocations: 47.81 kB / 0.9859 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.01019, allocations: 59.81 kB / 0.986 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.01049, allocations: 243.2 kB / 0.9862 GB, free: 13.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01049, allocations: 4 kB / 0.9862 GB, free: 13.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01049, allocations: 0 / 0.9862 GB, free: 13.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.0105, allocations: 0 / 0.9862 GB, free: 13.6 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.0005917/0.01109, allocations: 0.4927 MB / 0.9867 GB, free: 13.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.01113, allocations: 12.03 kB / 0.9867 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.01116, allocations: 38.69 kB / 0.9868 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.01121, allocations: 20.84 kB / 0.9868 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.01142, allocations: 194 kB / 0.987 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.01143, allocations: 16.12 kB / 0.987 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.01145, allocations: 8 kB / 0.987 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.0116, allocations: 96.19 kB / 0.9871 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.0116, allocations: 4 kB / 0.9871 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.01161, allocations: 4 kB / 0.9871 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.01162, allocations: 4 kB / 0.9871 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/0.0117, allocations: 47.97 kB / 0.9871 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.01225, allocations: 403.6 kB / 0.9875 GB, free: 12.15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.01252, allocations: 126.7 kB / 0.9877 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.01257, allocations: 32.84 kB / 0.9877 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01258, allocations: 0 / 0.9877 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.01273, allocations: 111.4 kB / 0.9878 GB, free: 11.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.01273, allocations: 0 / 0.9878 GB, free: 11.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.000267/0.013, allocations: 169.4 kB / 0.988 GB, free: 11.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.01303, allocations: 55.41 kB / 0.988 GB, free: 11.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01317, allocations: 208 kB / 0.9882 GB, free: 11.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.0132, allocations: 37.7 kB / 0.9882 GB, free: 11.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.01326, allocations: 116.6 kB / 0.9883 GB, free: 11.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.01329, allocations: 43.67 kB / 0.9884 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.01335, allocations: 53.69 kB / 0.9884 GB, free: 11.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.01345, allocations: 334.8 kB / 0.9888 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.01349, allocations: 27.98 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.01368, allocations: 240.9 kB / 0.989 GB, free: 10.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.01378, allocations: 106.6 kB / 0.9891 GB, free: 10.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01378, allocations: 3.938 kB / 0.9891 GB, free: 10.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001707/0.01395, allocations: 153.4 kB / 0.9893 GB, free: 10.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01397, allocations: 4 kB / 0.9893 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01397, allocations: 4 kB / 0.9893 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01399, allocations: 0 / 0.9893 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.01403, allocations: 15.94 kB / 0.9893 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01404, allocations: 4 kB / 0.9893 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01415, allocations: 32.05 kB / 0.9893 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01415, allocations: 8 kB / 0.9893 GB, free: 10.16 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.066e-05/0.01425, allocations: 139.7 kB / 0.9895 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.01426, allocations: 19.84 kB / 0.9895 GB, free: 9.992 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.0143, allocations: 25.8 kB / 0.9895 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0143, allocations: 4 kB / 0.9895 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01431, allocations: 0 / 0.9895 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01431, allocations: 48 / 0.9895 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.01473, allocations: 460.2 kB / 0.99 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01473, allocations: 0 / 0.99 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.01474, allocations: 7.984 kB / 0.99 GB, free: 9.457 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01475, allocations: 0 / 0.99 GB, free: 9.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01475, allocations: 4 kB / 0.99 GB, free: 9.453 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01476, allocations: 4 kB / 0.99 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01476, allocations: 0 / 0.99 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.01491, allocations: 235.2 kB / 0.9902 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.01493, allocations: 11.91 kB / 0.9902 GB, free: 9.191 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.01495, allocations: 4 kB / 0.9902 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.01501, allocations: 19.98 kB / 0.9902 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.01507, allocations: 27.89 kB / 0.9903 GB, free: 9.141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.01509, allocations: 12 kB / 0.9903 GB, free: 9.129 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.211e-05/0.01517, allocations: 140.2 kB / 0.9904 GB, free: 8.992 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01517, allocations: 0 / 0.9904 GB, free: 8.992 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002206/0.01539, allocations: 51.89 kB / 0.9904 GB, free: 8.941 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.0006368/0.01603, allocations: 0.8378 MB / 0.9913 GB, free: 8.102 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.0162, allocations: 95.84 kB / 0.9914 GB, free: 8.008 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.0162, allocations: 256 / 0.9914 GB, free: 8.008 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.01626, allocations: 51.91 kB / 0.9914 GB, free: 7.957 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.01654, allocations: 55.84 kB / 0.9915 GB, free: 7.902 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.01826, allocations: 1.91 MB / 0.9933 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.01834, allocations: 120.1 kB / 0.9934 GB, free: 5.758 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.174e-05/0.01842, allocations: 21.58 kB / 0.9935 GB, free: 5.738 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.0185, allocations: 60.47 kB / 0.9935 GB, free: 5.676 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/0.0185, allocations: 0 / 0.9935 GB, free: 5.676 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.03926, allocations: 6.612 MB / 1 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.806, allocations: 3.984 kB / 1 GB, free: 15.27 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/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] "Error: Could not read variable plotConfiguration.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.947513761930168]