Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002979/0.2564, allocations: 1.767 MB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2579, allocations: 0.9124 MB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.258, allocations: 7.938 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2581, allocations: 27.72 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.2585, allocations: 119.4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2588, allocations: 151.7 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.2591, allocations: 247.3 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2592, allocations: 21.97 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2593, allocations: 119.6 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.2718, allocations: 1.699 MB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.2718, allocations: 20 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.272, allocations: 36 kB / 1.221 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.272, allocations: 55.69 kB / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.2721, allocations: 83.58 kB / 1.221 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.2725, allocations: 219.1 kB / 1.221 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2725, allocations: 0 / 1.221 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2725, allocations: 0 / 1.221 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2725, allocations: 4 kB / 1.221 GB, free: 10.88 MB / 0.9669 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.0009358/0.2735, allocations: 0.5564 MB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2735, allocations: 12.03 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.2736, allocations: 42.73 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.2737, allocations: 24.84 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.274, allocations: 239.4 kB / 1.222 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.274, allocations: 8 kB / 1.222 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.274, allocations: 19.94 kB / 1.222 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2742, allocations: 87.89 kB / 1.222 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2742, allocations: 0 / 1.222 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2742, allocations: 4 kB / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2743, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2744, allocations: 55.97 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.2752, allocations: 468.3 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2756, allocations: 134.7 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.2757, allocations: 40.78 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2757, allocations: 0 / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.276, allocations: 119.1 kB / 1.223 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.276, allocations: 0 / 1.223 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003478/0.2763, allocations: 161.5 kB / 1.223 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2764, allocations: 59.34 kB / 1.223 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.2766, allocations: 198.5 kB / 1.223 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.2766, allocations: 33.7 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.2767, allocations: 124.5 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.2767, allocations: 31.75 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2768, allocations: 57.67 kB / 1.223 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.277, allocations: 334.8 kB / 1.224 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.277, allocations: 31.98 kB / 1.224 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.2773, allocations: 127.6 kB / 1.224 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2774, allocations: 98.89 kB / 1.224 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2774, allocations: 0 / 1.224 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002603/0.2777, allocations: 161.3 kB / 1.224 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2777, allocations: 7.984 kB / 1.224 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2777, allocations: 3.938 kB / 1.224 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2777, allocations: 8.125 kB / 1.224 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.2778, allocations: 15.94 kB / 1.224 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2778, allocations: 0 / 1.224 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.278, allocations: 31.86 kB / 1.224 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.278, allocations: 8 kB / 1.224 GB, free: 7.348 MB / 0.9669 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 0.000146/0.2782, allocations: 139.5 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.2782, allocations: 15.91 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.2782, allocations: 21.86 kB / 1.224 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2783, allocations: 4 kB / 1.224 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2783, allocations: 7.938 kB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2783, allocations: 0 / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.2789, allocations: 494.1 kB / 1.225 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2789, allocations: 3.984 kB / 1.225 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.279, allocations: 8 kB / 1.225 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.279, allocations: 4 kB / 1.225 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.279, allocations: 3.938 kB / 1.225 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.279, allocations: 4 kB / 1.225 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.279, allocations: 0 / 1.225 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2792, allocations: 235.2 kB / 1.225 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.2793, allocations: 89.02 kB / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.2793, allocations: 11.94 kB / 1.225 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2794, allocations: 11.97 kB / 1.225 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.2795, allocations: 19.98 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.2796, allocations: 15.98 kB / 1.225 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000127/0.2797, allocations: 135.2 kB / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2797, allocations: 0 / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002952/0.28, allocations: 51.89 kB / 1.225 GB, free: 5.992 MB / 0.9669 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.0007937/0.2808, allocations: 0.8352 MB / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.281, allocations: 103 kB / 1.226 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.281, allocations: 0 / 1.226 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.2811, allocations: 47.92 kB / 1.226 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.2815, allocations: 50.8 kB / 1.226 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.2836, allocations: 1.921 MB / 1.228 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2839, allocations: 0.7281 MB / 1.229 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.071e-05/0.284, allocations: 17.55 kB / 1.229 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.2841, allocations: 55.41 kB / 1.229 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of SimCode: time 4.4e-07/0.2841, allocations: 0 / 1.229 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3118, allocations: 5.634 MB / 1.234 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.59, allocations: 1.312 kB / 1.234 GB, free: 12.6 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.804870366002433]