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.0008078/0.0008078, 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.0008438/0.0008438, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9242/0.9242, 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 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.754/1.754, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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 2.094e-06/2.094e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.198e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002428/0.00245, allocations: 1.772 MB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.003277, allocations: 0.5926 MB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.003356, allocations: 7.938 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.003543, allocations: 19.8 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.003948, allocations: 131.2 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.00427, allocations: 162.7 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.004521, allocations: 227.4 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004636, allocations: 25.8 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.004773, allocations: 135.7 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.007198, allocations: 0.7881 MB / 0.9847 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.00724, allocations: 16 kB / 0.9847 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.00732, allocations: 39.92 kB / 0.9847 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.007377, allocations: 39.83 kB / 0.9848 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.007452, allocations: 67.81 kB / 0.9848 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.007755, allocations: 231.3 kB / 0.9851 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007758, allocations: 0 / 0.9851 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007759, allocations: 0 / 0.9851 GB, free: 14.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.007764, allocations: 0 / 0.9851 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.0005933/0.008357, allocations: 484.8 kB / 0.9855 GB, free: 14.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.008395, allocations: 11.97 kB / 0.9855 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.008429, allocations: 38.75 kB / 0.9856 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.008486, allocations: 24.8 kB / 0.9856 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.008703, allocations: 182.8 kB / 0.9858 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00872, allocations: 20.3 kB / 0.9858 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.008742, allocations: 12 kB / 0.9858 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.008901, allocations: 93.66 kB / 0.9859 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.008911, allocations: 0 / 0.9859 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.008923, allocations: 4 kB / 0.9859 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.00893, allocations: 4 kB / 0.9859 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.009024, allocations: 55.91 kB / 0.9859 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.009647, allocations: 411.7 kB / 0.9863 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.009769, allocations: 74.48 kB / 0.9864 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.009806, allocations: 28.8 kB / 0.9864 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.009827, allocations: 0 / 0.9864 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.009955, allocations: 95.36 kB / 0.9865 GB, free: 12.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.009956, allocations: 0 / 0.9865 GB, free: 12.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002515/0.01021, allocations: 137.6 kB / 0.9867 GB, free: 12.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.01024, allocations: 67.34 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.0104, allocations: 196.5 kB / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01042, allocations: 37.64 kB / 0.9869 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.01049, allocations: 124.5 kB / 0.9871 GB, free: 12.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.01051, allocations: 31.7 kB / 0.9871 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.01058, allocations: 61.67 kB / 0.9872 GB, free: 12.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.01065, allocations: 322.8 kB / 0.9875 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.0107, allocations: 27.98 kB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.01089, allocations: 237.8 kB / 0.9877 GB, free: 11.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.01099, allocations: 111.5 kB / 0.9878 GB, free: 11.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01099, allocations: 0 / 0.9878 GB, free: 11.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001638/0.01116, allocations: 145.5 kB / 0.988 GB, free: 11.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.01117, allocations: 8 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01118, allocations: 0 / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01119, allocations: 7.938 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.01126, allocations: 16.14 kB / 0.988 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01126, allocations: 7.938 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01136, allocations: 27.94 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.01137, allocations: 4 kB / 0.988 GB, free: 11.23 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 9.582e-05/0.01147, allocations: 149.5 kB / 0.9882 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.01149, allocations: 19.86 kB / 0.9882 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.01165, allocations: 127.1 kB / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01165, allocations: 0 / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01166, allocations: 3.938 kB / 0.9883 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01166, allocations: 7.922 kB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.01204, allocations: 408.3 kB / 0.9887 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01204, allocations: 7.938 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.01207, allocations: 7.938 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01207, allocations: 0 / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01208, allocations: 4 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01208, allocations: 4 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01208, allocations: 0 / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01223, allocations: 219.4 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.01227, allocations: 31.77 kB / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01229, allocations: 0 / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.01234, allocations: 11.98 kB / 0.989 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01239, allocations: 15.97 kB / 0.989 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01241, allocations: 8 kB / 0.989 GB, free: 10.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.577e-05/0.0125, allocations: 148.2 kB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.0125, allocations: 0 / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002297/0.01273, 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.0004911/0.01322, allocations: 0.8209 MB / 0.99 GB, free: 9.137 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.01338, allocations: 88.09 kB / 0.9901 GB, free: 9.051 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01338, allocations: 4.062 kB / 0.9901 GB, free: 9.047 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.01343, allocations: 42.92 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.0002901/0.01372, allocations: 59.16 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.001367/0.01509, allocations: 1.857 MB / 0.992 GB, free: 6.992 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.992e-05/0.01516, allocations: 107.6 kB / 0.9921 GB, free: 6.863 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.19e-05/0.01522, allocations: 21.47 kB / 0.9921 GB, free: 6.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.01529, allocations: 48.48 kB / 0.9922 GB, free: 6.793 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.01529, allocations: 0 / 0.9922 GB, free: 6.793 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.0326, allocations: 6.072 MB / 0.9981 GB, free: 0.918 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.16, allocations: 10.42 kB / 0.9981 GB, free: 0.9102 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.187400585971773]