Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.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.001862/0.001862, allocations: 95.77 kB / 18.94 MB, free: 2.844 MB / 14.72 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.002348/0.002348, allocations: 220.4 kB / 22.25 MB, free: 5.098 MB / 14.72 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 1.753/1.753, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 72.09 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3603, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003364/0.3636, allocations: 1.768 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.365, allocations: 0.6006 MB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.3651, allocations: 7.875 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.3652, allocations: 27.73 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.3657, allocations: 119.5 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.3661, allocations: 151.7 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.3665, allocations: 227.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3666, allocations: 37.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3668, allocations: 111.6 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00627/0.3731, allocations: 0.7997 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.3731, allocations: 16 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3733, allocations: 35.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.3733, allocations: 39.89 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3735, allocations: 75.58 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.3739, allocations: 211.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3739, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3739, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3739, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 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.0008511/0.3748, allocations: 484.8 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3748, allocations: 12.03 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.3749, allocations: 42.73 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.3749, allocations: 20.84 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3752, allocations: 182.6 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3753, allocations: 8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3753, allocations: 20 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3755, allocations: 99.08 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3755, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3755, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3755, allocations: 3.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3756, allocations: 51.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.3764, allocations: 415.5 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3766, allocations: 62.56 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3766, allocations: 28.84 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3767, allocations: 4.219 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.3768, allocations: 107.2 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3769, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003209/0.3772, allocations: 152.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3772, allocations: 55.41 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3774, allocations: 186.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3775, allocations: 29.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3776, allocations: 132.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3776, allocations: 39.67 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.3777, allocations: 53.67 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3779, allocations: 326.8 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.3779, allocations: 31.98 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.3782, allocations: 243.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3784, allocations: 109.1 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3784, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002462/0.3786, allocations: 145.5 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3786, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3786, allocations: 7.938 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3787, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3788, allocations: 23.92 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3788, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3789, allocations: 20.03 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.379, allocations: 16 kB / 1.333 GB, free: 10.17 MB / 1.029 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.0001289/0.3791, allocations: 134.1 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3791, allocations: 15.91 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3794, allocations: 127 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3794, allocations: 4 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3794, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3794, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3799, allocations: 424.3 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.3799, allocations: 11.92 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.38, allocations: 11.98 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.38, allocations: 3.938 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.38, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.38, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.38, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.3802, allocations: 219.4 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3803, allocations: 19.89 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3803, allocations: 8 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3804, allocations: 7.984 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3805, allocations: 11.98 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3805, allocations: 11.98 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000126/0.3806, allocations: 140.3 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3806, allocations: 4 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003044/0.3809, allocations: 47.89 kB / 1.334 GB, free: 8.906 MB / 1.029 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.000809/0.3817, allocations: 0.8237 MB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3819, allocations: 87.89 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3819, allocations: 3.938 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.382, allocations: 35.98 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3824, allocations: 54.45 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3845, allocations: 1.856 MB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3846, allocations: 115.3 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.969e-05/0.3847, allocations: 29.39 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.3848, allocations: 51.41 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3848, allocations: 0 / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.4189, allocations: 5.986 MB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 2.062 kB / 1.343 GB, free: 15.95 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.27583061097539]