Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.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.001411/0.001411, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001454/0.001454, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.316 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.344/2.344, allocations: 443.5 MB / 0.7304 GB, free: 14.01 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.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 1.059 GB, free: 1.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2691, allocations: 160.7 MB / 1.215 GB, free: 40 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003026/0.2721, allocations: 1.803 MB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2733, allocations: 0.6436 MB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.2734, allocations: 3.938 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2736, allocations: 27.73 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.2739, allocations: 123.4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2743, allocations: 154.7 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.2746, allocations: 239.4 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2747, allocations: 33.88 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2749, allocations: 111.6 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00751/0.2824, allocations: 1.058 MB / 1.22 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.2824, allocations: 16 kB / 1.22 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.2825, allocations: 36 kB / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.2826, allocations: 51.81 kB / 1.22 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2827, allocations: 87.52 kB / 1.22 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.2831, allocations: 227 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2831, allocations: 4 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2831, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2831, allocations: 4 kB / 1.22 GB, free: 11.67 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007771/0.2838, allocations: 0.5525 MB / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2839, allocations: 12.02 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.2839, allocations: 42.75 kB / 1.221 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.284, allocations: 24.8 kB / 1.221 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.2843, allocations: 256.1 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2843, allocations: 12.38 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.2844, allocations: 15.94 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2846, allocations: 107.1 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2846, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2846, allocations: 7.984 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2846, allocations: 4 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2847, allocations: 63.89 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.2856, allocations: 480.4 kB / 1.222 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.2859, allocations: 98.64 kB / 1.222 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2859, allocations: 36.89 kB / 1.222 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2859, allocations: 7.984 kB / 1.222 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2861, allocations: 103.3 kB / 1.222 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2861, allocations: 0 / 1.222 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.00034/0.2864, allocations: 177.4 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.2865, allocations: 55.41 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2867, allocations: 211.7 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2867, allocations: 33.7 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.2868, allocations: 124.5 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.2869, allocations: 39.69 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.287, allocations: 65.86 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2871, allocations: 334.8 kB / 1.223 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2873, allocations: 67.75 kB / 1.223 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.2875, allocations: 141.6 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.2878, allocations: 213.2 kB / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2878, allocations: 4.031 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006207/0.2884, allocations: 328.6 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.2885, allocations: 67.33 kB / 1.224 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2885, allocations: 4 kB / 1.224 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2885, allocations: 0 / 1.224 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.2886, allocations: 23.98 kB / 1.224 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2886, allocations: 7.938 kB / 1.224 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.2888, allocations: 20.03 kB / 1.224 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2889, allocations: 23.98 kB / 1.224 GB, free: 7.641 MB / 0.9669 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001546/0.289, allocations: 138.9 kB / 1.224 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.2891, allocations: 27.83 kB / 1.224 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.2893, allocations: 145.8 kB / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2893, allocations: 0 / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2893, allocations: 0 / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2893, allocations: 0 / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.29, allocations: 0.4982 MB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.29, allocations: 0 / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.29, allocations: 4 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.29, allocations: 8 kB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.29, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.29, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.29, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2903, allocations: 246 kB / 1.225 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.2904, allocations: 104.9 kB / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2904, allocations: 4 kB / 1.225 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2905, allocations: 7.984 kB / 1.225 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.2906, allocations: 15.98 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2906, allocations: 11.98 kB / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2907, allocations: 144.2 kB / 1.225 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2907, allocations: 3.938 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003009/0.291, allocations: 47.95 kB / 1.225 GB, free: 6.152 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000785/0.2918, allocations: 0.8447 MB / 1.226 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.2922, allocations: 242.7 kB / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2922, allocations: 0 / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.2923, allocations: 47.86 kB / 1.226 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2927, allocations: 66.81 kB / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.2956, allocations: 2.263 MB / 1.228 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2959, allocations: 0.7281 MB / 1.229 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.296, allocations: 33.88 kB / 1.229 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.2961, allocations: 55.41 kB / 1.229 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.2961, allocations: 0 / 1.229 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3245, allocations: 5.518 MB / 1.235 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.473, allocations: 6.297 kB / 1.235 GB, free: 12.3 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_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_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable timSer.y[1] in file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.724087515001884]