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.001085/0.001085, 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.001292/0.001292, 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.8903/0.8903, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.556e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002051/0.002066, allocations: 1.772 MB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.002768, allocations: 0.5964 MB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.002824, allocations: 4 kB / 0.9832 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.002969, allocations: 23.73 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.003241, allocations: 115.4 kB / 0.9834 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.003491, allocations: 163.6 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.003689, allocations: 227.4 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.003793, allocations: 33.72 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.00391, allocations: 135.8 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.006134, allocations: 0.7828 MB / 0.9847 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.006166, allocations: 16 kB / 0.9847 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.00623, allocations: 43.86 kB / 0.9847 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.006288, allocations: 39.83 kB / 0.9848 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.006355, allocations: 63.81 kB / 0.9848 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.006602, allocations: 231.3 kB / 0.985 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006604, allocations: 4 kB / 0.985 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006604, allocations: 0 / 0.985 GB, free: 14.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.006608, allocations: 0 / 0.985 GB, free: 14.55 MB / 0.948 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.000513/0.007121, allocations: 488.8 kB / 0.9855 GB, free: 14.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.007154, allocations: 8.031 kB / 0.9855 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.007181, allocations: 38.75 kB / 0.9856 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.007228, allocations: 24.8 kB / 0.9856 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.007418, allocations: 178.9 kB / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.007434, allocations: 24.3 kB / 0.9858 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.007453, allocations: 12 kB / 0.9858 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.007587, allocations: 99.84 kB / 0.9859 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.007594, allocations: 0 / 0.9859 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.007605, allocations: 7.984 kB / 0.9859 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.00761, allocations: 4 kB / 0.9859 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.007691, allocations: 55.91 kB / 0.9859 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.008191, allocations: 407.7 kB / 0.9863 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.008308, allocations: 82.41 kB / 0.9864 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.00834, allocations: 24.86 kB / 0.9864 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.008358, allocations: 0 / 0.9864 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.008469, allocations: 102.2 kB / 0.9865 GB, free: 12.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.00847, allocations: 0 / 0.9865 GB, free: 12.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002139/0.008684, allocations: 145.5 kB / 0.9867 GB, free: 12.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.008715, allocations: 59.34 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.008846, allocations: 196.5 kB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.008867, allocations: 37.7 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.008931, allocations: 116.6 kB / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.008951, allocations: 31.7 kB / 0.9871 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.009008, allocations: 61.67 kB / 0.9871 GB, free: 12.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.009079, allocations: 322.8 kB / 0.9875 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.009118, allocations: 27.98 kB / 0.9875 GB, free: 11.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.009302, allocations: 241.8 kB / 0.9877 GB, free: 11.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.009394, allocations: 105.1 kB / 0.9878 GB, free: 11.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009397, allocations: 0 / 0.9878 GB, free: 11.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001527/0.009549, allocations: 147.5 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.009561, allocations: 8 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009565, allocations: 0 / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.009577, allocations: 4 kB / 0.988 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.009641, allocations: 19.92 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.009647, allocations: 3.938 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.009735, allocations: 32.03 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.009743, allocations: 4 kB / 0.988 GB, free: 11.22 MB / 0.948 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.221e-05/0.009825, allocations: 141.5 kB / 0.9882 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.009839, allocations: 15.91 kB / 0.9882 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009983, allocations: 131.3 kB / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009985, allocations: 0 / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.00999, allocations: 7.875 kB / 0.9883 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009993, allocations: 3.984 kB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.01032, allocations: 414 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01032, allocations: 7.938 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.01034, allocations: 4 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01034, allocations: 0 / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01036, allocations: 8 kB / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01036, allocations: 0 / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01036, allocations: 0 / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01049, allocations: 227 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.01052, allocations: 27.83 kB / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.01053, allocations: 0 / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.01058, allocations: 7.984 kB / 0.989 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.01062, allocations: 23.97 kB / 0.989 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01064, allocations: 4 kB / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.01071, allocations: 144.3 kB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000212/0.01092, allocations: 39.94 kB / 0.9892 GB, free: 9.965 MB / 0.948 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.0004445/0.01137, allocations: 0.8337 MB / 0.99 GB, free: 9.129 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.0115, allocations: 83.91 kB / 0.9901 GB, free: 9.047 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01151, allocations: 0 / 0.9901 GB, free: 9.047 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.01157, allocations: 40.23 kB / 0.9901 GB, free: 9.008 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.01181, allocations: 55.89 kB / 0.9902 GB, free: 8.957 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.01314, allocations: 1.862 MB / 0.992 GB, free: 6.988 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.01321, allocations: 107.6 kB / 0.9921 GB, free: 6.859 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.288e-05/0.01326, allocations: 21.47 kB / 0.9921 GB, free: 6.836 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.01332, allocations: 48.48 kB / 0.9922 GB, free: 6.789 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01332, allocations: 0 / 0.9922 GB, free: 6.789 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.03075, allocations: 6.083 MB / 0.9981 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.128, allocations: 7.562 kB / 0.9981 GB, free: 0.9023 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.243528045713902]