Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.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.0009269/0.0009269, 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.0009086/0.0009086, 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.8981/0.8981, 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 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.818/1.818, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.TimeSeries,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9809 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.436e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002136/0.00215, allocations: 1.756 MB / 0.9826 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.002945, allocations: 0.6272 MB / 0.9833 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.003012, allocations: 4 kB / 0.9833 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.003169, allocations: 23.73 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.003461, allocations: 131.3 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.003714, allocations: 155.6 kB / 0.9836 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.003928, allocations: 255.3 kB / 0.9838 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004036, allocations: 21.8 kB / 0.9838 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.004168, allocations: 151.7 kB / 0.984 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.007153, allocations: 1.029 MB / 0.985 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.007188, allocations: 20 kB / 0.985 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.007259, allocations: 39.92 kB / 0.985 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.007313, allocations: 39.83 kB / 0.9851 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.007386, allocations: 67.81 kB / 0.9851 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.007674, allocations: 243.2 kB / 0.9854 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007676, allocations: 8 kB / 0.9854 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007677, allocations: 0 / 0.9854 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.007681, allocations: 0 / 0.9854 GB, free: 13.16 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005731/0.008254, allocations: 488.7 kB / 0.9858 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.008289, allocations: 8.031 kB / 0.9858 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.008321, allocations: 50.67 kB / 0.9859 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.008371, allocations: 28.73 kB / 0.9859 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.00859, allocations: 185.6 kB / 0.9861 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.008603, allocations: 16.38 kB / 0.9861 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.008626, allocations: 16.38 kB / 0.9861 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.008777, allocations: 120.4 kB / 0.9862 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.008784, allocations: 0 / 0.9862 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.008794, allocations: 7.922 kB / 0.9863 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.008799, allocations: 4 kB / 0.9863 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.008885, allocations: 51.97 kB / 0.9863 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.00944, allocations: 427.5 kB / 0.9867 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.009638, allocations: 94.73 kB / 0.9868 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.009682, allocations: 36.84 kB / 0.9868 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.009703, allocations: 4 kB / 0.9868 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.009822, allocations: 113.7 kB / 0.987 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.009823, allocations: 0 / 0.987 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of matching and sorting (n=16): time 0.0002591/0.01008, allocations: 173.4 kB / 0.9871 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.01012, allocations: 63.34 kB / 0.9872 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.01026, allocations: 207.8 kB / 0.9874 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01029, allocations: 33.7 kB / 0.9874 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.01036, allocations: 124.5 kB / 0.9875 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.01039, allocations: 39.69 kB / 0.9876 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.01046, allocations: 65.67 kB / 0.9876 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.01055, allocations: 326.8 kB / 0.9879 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.01068, allocations: 127.3 kB / 0.9881 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.01085, allocations: 242.5 kB / 0.9883 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01103, allocations: 216.8 kB / 0.9885 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01104, allocations: 0 / 0.9885 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003824/0.01142, allocations: 404 kB / 0.9889 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.01146, allocations: 63.39 kB / 0.9889 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01146, allocations: 4 kB / 0.9889 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.01147, allocations: 0 / 0.9889 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.01152, allocations: 23.88 kB / 0.989 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01153, allocations: 8.156 kB / 0.989 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.01163, allocations: 23.88 kB / 0.989 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.01164, allocations: 15.98 kB / 0.989 GB, free: 9.082 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.811e-05/0.01173, allocations: 139.8 kB / 0.9891 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.01175, allocations: 19.91 kB / 0.9892 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.01191, allocations: 143.4 kB / 0.9893 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01191, allocations: 3.938 kB / 0.9893 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01192, allocations: 7.875 kB / 0.9893 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01192, allocations: 4 kB / 0.9893 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.0123, allocations: 456.6 kB / 0.9898 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.0123, allocations: 3.938 kB / 0.9898 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.01232, allocations: 8 kB / 0.9898 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01232, allocations: 0 / 0.9898 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01233, allocations: 0 / 0.9898 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01233, allocations: 3.984 kB / 0.9898 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01233, allocations: 4 kB / 0.9898 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.01249, allocations: 239.3 kB / 0.99 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.01253, allocations: 27.77 kB / 0.99 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01254, allocations: 4 kB / 0.99 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.0126, allocations: 11.98 kB / 0.99 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.01265, allocations: 19.97 kB / 0.9901 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.01266, allocations: 12 kB / 0.9901 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.01275, allocations: 145.5 kB / 0.9902 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.01275, allocations: 0 / 0.9902 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002228/0.01297, allocations: 51.88 kB / 0.9903 GB, free: 7.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004973/0.01347, allocations: 0.836 MB / 0.9911 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.01376, allocations: 309.9 kB / 0.9914 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01376, allocations: 4.25 kB / 0.9914 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.01382, allocations: 43.98 kB / 0.9914 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01408, allocations: 62.78 kB / 0.9915 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.01605, allocations: 2.512 MB / 0.9939 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.01612, allocations: 120.2 kB / 0.994 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.01619, allocations: 30.02 kB / 0.9941 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.01627, allocations: 56.47 kB / 0.9941 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/0.01627, allocations: 0 / 0.9941 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.03504, allocations: 6.511 MB / 1 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.175, allocations: 3 kB / 1 GB, free: 13.24 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.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.2199945775792]