Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.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.001407/0.001407, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001386/0.001386, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.325/1.325, allocations: 225.6 MB / 249.3 MB, free: 3.367 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.355/2.355, allocations: 443.5 MB / 0.7304 GB, free: 14.12 MB / 0.5763 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.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.89 kB / 1.059 GB, free: 1.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2749, allocations: 160.7 MB / 1.216 GB, free: 44 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003675/0.2786, allocations: 1.801 MB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2799, allocations: 0.6168 MB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.28, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.2802, allocations: 27.72 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.2806, allocations: 119.4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.281, allocations: 159.4 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2814, allocations: 223.5 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2815, allocations: 29.81 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2816, allocations: 103.7 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005757/0.2874, allocations: 0.8063 MB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.2875, allocations: 16 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2876, allocations: 43.98 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.2876, allocations: 43.77 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2878, allocations: 83.58 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2881, allocations: 211.1 kB / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2881, allocations: 0 / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2881, allocations: 0 / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2881, allocations: 0 / 1.22 GB, free: 11.94 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008475/0.289, allocations: 0.5431 MB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.289, allocations: 8.031 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.2891, allocations: 42.73 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.2891, allocations: 24.8 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2895, allocations: 248.4 kB / 1.221 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2895, allocations: 12 kB / 1.221 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.2895, allocations: 19.94 kB / 1.221 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2897, allocations: 93.66 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2897, allocations: 0 / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2897, allocations: 7.984 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2897, allocations: 7.938 kB / 1.221 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2898, allocations: 47.97 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.2907, allocations: 472.5 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2908, allocations: 70.5 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.2909, allocations: 28.84 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2909, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.2911, allocations: 103.3 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2911, allocations: 7.938 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003232/0.2914, allocations: 145.7 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2915, allocations: 59.34 kB / 1.222 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.2917, allocations: 195.4 kB / 1.222 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.2917, allocations: 33.7 kB / 1.222 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.2918, allocations: 124.5 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.2918, allocations: 31.73 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.2919, allocations: 57.62 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2921, allocations: 330.8 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.2921, allocations: 27.98 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2924, allocations: 124.5 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2925, allocations: 107.6 kB / 1.223 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2925, allocations: 0 / 1.223 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002527/0.2928, allocations: 149.6 kB / 1.223 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2928, allocations: 4.156 kB / 1.223 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2928, allocations: 15.88 kB / 1.223 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2928, allocations: 0 / 1.223 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.2929, allocations: 23.98 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2929, allocations: 0 / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.2931, allocations: 23.88 kB / 1.223 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2931, allocations: 8 kB / 1.223 GB, free: 8.504 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (20): * Single equations (assignments): 20 * 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.000144/0.2933, allocations: 129.8 kB / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2933, allocations: 19.89 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.2935, allocations: 131.1 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2935, allocations: 4 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2935, allocations: 4 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.2935, allocations: 3.984 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.2941, allocations: 462.1 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2941, allocations: 0 / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.2941, allocations: 15.98 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2941, allocations: 0 / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2941, allocations: 4 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2942, allocations: 0 / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2942, allocations: 0 / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.2944, allocations: 223.3 kB / 1.224 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.2945, allocations: 101 kB / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2945, allocations: 0 / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2946, allocations: 15.92 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.2946, allocations: 15.98 kB / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2947, allocations: 8 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001249/0.2948, allocations: 139.1 kB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2948, allocations: 3.938 kB / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002933/0.2951, allocations: 43.94 kB / 1.224 GB, free: 7.102 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007801/0.2959, allocations: 0.8221 MB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.2961, allocations: 87.91 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2961, allocations: 4 kB / 1.225 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.2961, allocations: 39.92 kB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.2965, allocations: 56.2 kB / 1.225 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2986, allocations: 1.848 MB / 1.227 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.299, allocations: 0.7202 MB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.167e-05/0.299, allocations: 25.53 kB / 1.228 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2991, allocations: 51.42 kB / 1.228 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.2991, allocations: 0 / 1.228 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.3287, allocations: 5.129 MB / 1.233 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.61, allocations: 3.188 kB / 1.233 GB, free: 14.31 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_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_Scatter.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sca.y[1] in file Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.847598036998534]