Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001082/0.001082, 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.001278/0.001278, 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.9534/0.9534, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.673e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002765/0.002791, allocations: 1.769 MB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.003703, allocations: 0.6003 MB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.003792, allocations: 4 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.003989, allocations: 27.72 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.00438, allocations: 119.3 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.004697, allocations: 159.6 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004928, allocations: 231.3 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.005045, allocations: 21.81 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.00519, allocations: 139.7 kB / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.007672, allocations: 0.7831 MB / 0.9542 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.007717, allocations: 16 kB / 0.9542 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.007795, allocations: 39.88 kB / 0.9543 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.007853, allocations: 39.83 kB / 0.9543 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.007925, allocations: 67.8 kB / 0.9544 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.00822, allocations: 231.3 kB / 0.9546 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.008222, allocations: 0 / 0.9546 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008224, allocations: 0 / 0.9546 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.008228, allocations: 0 / 0.9546 GB, free: 15.47 MB / 0.9167 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.00057/0.008798, allocations: 480.9 kB / 0.955 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.008835, allocations: 11.97 kB / 0.955 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.008866, allocations: 42.73 kB / 0.9551 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.008917, allocations: 20.8 kB / 0.9551 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.009125, allocations: 182.3 kB / 0.9553 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.009142, allocations: 20.31 kB / 0.9553 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.009164, allocations: 12 kB / 0.9553 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.009315, allocations: 103.5 kB / 0.9554 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.009324, allocations: 0 / 0.9554 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.009334, allocations: 4 kB / 0.9554 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00934, allocations: 4 kB / 0.9554 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.009428, allocations: 59.89 kB / 0.9555 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.01002, allocations: 403.8 kB / 0.9559 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.01015, allocations: 70.5 kB / 0.9559 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.01018, allocations: 28.84 kB / 0.956 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.0102, allocations: 0 / 0.956 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.01033, allocations: 103.3 kB / 0.9561 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.01033, allocations: 0 / 0.9561 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0002446/0.01058, allocations: 141.5 kB / 0.9562 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.01063, allocations: 63.34 kB / 0.9563 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01077, allocations: 187.9 kB / 0.9564 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.0108, allocations: 37.7 kB / 0.9565 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.01087, allocations: 128.5 kB / 0.9566 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.0109, allocations: 31.7 kB / 0.9566 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.01096, allocations: 61.67 kB / 0.9567 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.01105, allocations: 322.8 kB / 0.957 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.01109, allocations: 31.98 kB / 0.957 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.01136, allocations: 239.3 kB / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.01147, allocations: 108.3 kB / 0.9573 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01148, allocations: 0 / 0.9573 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000175/0.01165, allocations: 145.5 kB / 0.9575 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01166, allocations: 8 kB / 0.9575 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01167, allocations: 0 / 0.9575 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01168, allocations: 4 kB / 0.9575 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.01177, allocations: 19.92 kB / 0.9575 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.01178, allocations: 8.094 kB / 0.9575 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01189, allocations: 27.94 kB / 0.9576 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.01189, allocations: 4 kB / 0.9576 GB, free: 12.14 MB / 0.9167 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 9.464e-05/0.01199, allocations: 141.7 kB / 0.9577 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.01201, allocations: 15.91 kB / 0.9577 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.01217, allocations: 142.9 kB / 0.9578 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01217, allocations: 0 / 0.9578 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01218, allocations: 3.938 kB / 0.9578 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01218, allocations: 0 / 0.9578 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.01256, allocations: 409.5 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01256, allocations: 11.92 kB / 0.9582 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.01259, allocations: 4 kB / 0.9583 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.0126, allocations: 0 / 0.9583 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01261, allocations: 4 kB / 0.9583 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01261, allocations: 4 kB / 0.9583 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01261, allocations: 0 / 0.9583 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.01277, allocations: 226.5 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.01281, allocations: 27.83 kB / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01283, allocations: 0 / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.01289, allocations: 11.98 kB / 0.9585 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.01295, allocations: 11.98 kB / 0.9585 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01297, allocations: 15.98 kB / 0.9585 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.01305, allocations: 145 kB / 0.9587 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01305, allocations: 0 / 0.9587 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002167/0.01327, allocations: 36 kB / 0.9587 GB, free: 10.88 MB / 0.9167 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.0006168/0.01389, allocations: 0.8382 MB / 0.9595 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.01412, allocations: 83.91 kB / 0.9596 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01412, allocations: 4 kB / 0.9596 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.01419, allocations: 40.23 kB / 0.9597 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.0145, allocations: 41.72 kB / 0.9597 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.01608, allocations: 1.866 MB / 0.9615 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.01616, allocations: 111.6 kB / 0.9616 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.01622, allocations: 21.47 kB / 0.9616 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.01629, allocations: 48.48 kB / 0.9617 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.01629, allocations: 0 / 0.9617 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.03549, allocations: 6.081 MB / 0.9676 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.538, allocations: 1.719 kB / 0.9676 GB, free: 1.805 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.774275655858219]