Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009107/0.0009107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001245/0.001245, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.838/1.838, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.862e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002207/0.002225, allocations: 1.758 MB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.003037, allocations: 0.6042 MB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.003109, allocations: 3.938 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.003276, allocations: 27.72 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.003607, allocations: 127.3 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.003922, allocations: 143.6 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.004181, allocations: 243.3 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.00432, allocations: 17.8 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.004467, allocations: 139.8 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.006983, allocations: 0.7788 MB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.007034, allocations: 16 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.007127, allocations: 39.92 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.007191, allocations: 43.83 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.209e-05/0.007263, allocations: 55.88 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.007582, allocations: 239.2 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007584, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007585, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.00759, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 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.000584/0.008174, allocations: 484.9 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.008213, allocations: 8.75 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.008245, allocations: 42.75 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.008294, allocations: 20.84 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.00849, allocations: 186.2 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.008505, allocations: 16.31 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.008527, allocations: 16 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.008664, allocations: 89.66 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.008671, allocations: 3.938 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.008682, allocations: 4 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.008688, allocations: 4 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.008773, allocations: 59.84 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.009313, allocations: 407.8 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.009426, allocations: 74.48 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.009461, allocations: 24.86 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.009482, allocations: 3.984 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.009599, allocations: 91.38 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.009601, allocations: 0 / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002302/0.009831, allocations: 156.2 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.00986, allocations: 55.34 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01001, allocations: 205.8 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.01003, allocations: 29.7 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.01011, allocations: 124.5 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.01013, allocations: 43.72 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.01018, allocations: 49.69 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.01026, allocations: 334.8 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.0103, allocations: 27.98 kB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.01048, allocations: 231.3 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.01058, allocations: 113 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01058, allocations: 0 / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001548/0.01073, allocations: 153.3 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01075, allocations: 9.875 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01075, allocations: 4.203 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01076, allocations: 4 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.01082, allocations: 15.94 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01083, allocations: 16.03 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.01093, allocations: 19.94 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01093, allocations: 4 kB / 1.007 GB, free: 6.137 MB / 0.9636 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 8.5e-05/0.01102, allocations: 141.8 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.01103, allocations: 15.91 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.01118, allocations: 127.1 kB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01118, allocations: 0 / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.01118, allocations: 3.938 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01119, allocations: 3.984 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.01151, allocations: 413.5 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01152, allocations: 3.938 kB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.01154, allocations: 8 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01154, allocations: 0 / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01155, allocations: 4 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01155, allocations: 0 / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01155, allocations: 3.984 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01168, allocations: 219.3 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.01171, allocations: 27.83 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01173, allocations: 0 / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.01178, allocations: 15.98 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.01183, allocations: 19.97 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01184, allocations: 4 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.01192, allocations: 139.4 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01192, allocations: 0 / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002449/0.01217, allocations: 39.95 kB / 1.008 GB, free: 4.887 MB / 0.9636 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.000475/0.01264, allocations: 0.8336 MB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01279, allocations: 87.84 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.0128, allocations: 320 / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.01301, allocations: 43.92 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.01342, allocations: 43.89 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.01523, allocations: 1.865 MB / 1.011 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.989e-05/0.01531, allocations: 111.6 kB / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.341e-05/0.01538, allocations: 21.47 kB / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.01546, allocations: 52.47 kB / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of SimCode: time 1.352e-06/0.01546, allocations: 0 / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.03609, allocations: 6.07 MB / 1.017 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.188, allocations: 5 kB / 1.017 GB, free: 11.8 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.394827891141176]