Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 107.9 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437.1 MB / 0.7171 GB, free: 4.055 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.894, allocations: 151.6 MB / 1.175 GB, free: 17.58 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003102/0.8972, allocations: 1.767 MB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.8983, allocations: 0.6361 MB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.8984, allocations: 1.875 kB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.8986, allocations: 30.62 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.899, allocations: 123.1 kB / 1.177 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.8994, allocations: 157.6 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.8997, allocations: 240.3 kB / 1.178 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.8999, allocations: 36.34 kB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.9001, allocations: 113.5 kB / 1.178 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008171/0.9082, allocations: 1.055 MB / 1.179 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.9083, allocations: 17.56 kB / 1.179 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.9085, allocations: 38.05 kB / 1.179 GB, free: 15.29 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.9086, allocations: 42.91 kB / 1.179 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.9087, allocations: 98.12 kB / 1.179 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.9091, allocations: 215.4 kB / 1.179 GB, free: 15.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9091, allocations: 1.344 kB / 1.179 GB, free: 15.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9091, allocations: 3.938 kB / 1.179 GB, free: 15.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9091, allocations: 0.75 kB / 1.179 GB, free: 15.11 MB / 0.92 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.0006748/0.9098, allocations: 0.5605 MB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9099, allocations: 10.12 kB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.9099, allocations: 40.7 kB / 1.18 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.91, allocations: 25.75 kB / 1.18 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.9103, allocations: 257.2 kB / 1.18 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9103, allocations: 11.39 kB / 1.18 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.9104, allocations: 21.08 kB / 1.18 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.9106, allocations: 109.7 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.9106, allocations: 3.938 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9106, allocations: 2.891 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9106, allocations: 1.281 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.9107, allocations: 57.12 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.9116, allocations: 496.8 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.9118, allocations: 108.5 kB / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.9119, allocations: 40.17 kB / 1.181 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.9119, allocations: 1.375 kB / 1.181 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.9121, allocations: 110.7 kB / 1.181 GB, free: 13.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.664e-06/0.9121, allocations: 0 / 1.181 GB, free: 13.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.000334/0.9124, allocations: 180 kB / 1.181 GB, free: 13.63 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.9125, allocations: 63.61 kB / 1.181 GB, free: 13.56 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.9127, allocations: 204 kB / 1.181 GB, free: 13.42 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.9127, allocations: 34.61 kB / 1.181 GB, free: 13.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.9128, allocations: 128.5 kB / 1.181 GB, free: 13.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.9128, allocations: 39.41 kB / 1.182 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.9129, allocations: 63.25 kB / 1.182 GB, free: 13.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.913, allocations: 332.9 kB / 1.182 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.9132, allocations: 67.14 kB / 1.182 GB, free: 12.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.9134, allocations: 125 kB / 1.182 GB, free: 12.78 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.9136, allocations: 215.8 kB / 1.182 GB, free: 12.61 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9136, allocations: 1.281 kB / 1.182 GB, free: 12.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005546/0.9142, allocations: 328.7 kB / 1.183 GB, free: 12.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.9143, allocations: 77.06 kB / 1.183 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9143, allocations: 3.641 kB / 1.183 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9143, allocations: 1.375 kB / 1.183 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.9144, allocations: 21.09 kB / 1.183 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9144, allocations: 2.875 kB / 1.183 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.9146, allocations: 26.25 kB / 1.183 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.9146, allocations: 11.86 kB / 1.183 GB, free: 12.36 MB / 0.92 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 0.000101/0.9147, allocations: 142.1 kB / 1.183 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.9148, allocations: 28.8 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.915, allocations: 149.6 kB / 1.183 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.915, allocations: 1.219 kB / 1.183 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.915, allocations: 1.734 kB / 1.183 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.9151, allocations: 0.6562 kB / 1.183 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.9156, allocations: 493.2 kB / 1.184 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9156, allocations: 0 / 1.184 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.9156, allocations: 7.266 kB / 1.184 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9156, allocations: 9.906 kB / 1.184 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.9157, allocations: 5.641 kB / 1.184 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9157, allocations: 1.156 kB / 1.184 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9157, allocations: 0.6094 kB / 1.184 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.9159, allocations: 242.6 kB / 1.184 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.916, allocations: 102 kB / 1.184 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.916, allocations: 6.156 kB / 1.184 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.9161, allocations: 11.5 kB / 1.184 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.9162, allocations: 20.08 kB / 1.184 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.9162, allocations: 8.516 kB / 1.184 GB, free: 11.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001143/0.9164, allocations: 140.1 kB / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9164, allocations: 0 / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003257/0.9167, allocations: 54.77 kB / 1.184 GB, free: 11.34 MB / 0.92 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.0006308/0.9173, allocations: 0.8431 MB / 1.185 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.9177, allocations: 249.9 kB / 1.185 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9177, allocations: 0 / 1.185 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.9178, allocations: 49.61 kB / 1.185 GB, free: 10.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.9183, allocations: 63.36 kB / 1.185 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.9207, allocations: 2.268 MB / 1.187 GB, free: 8.746 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.9209, allocations: 0.7236 MB / 1.188 GB, free: 8.051 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.921, allocations: 31.23 kB / 1.188 GB, free: 8.043 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.9211, allocations: 59.86 kB / 1.188 GB, free: 8.004 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.9211, allocations: 3.938 kB / 1.188 GB, free: 8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.9486, allocations: 5.491 MB / 1.194 GB, free: 6.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.423, allocations: 4.781 kB / 1.194 GB, free: 6.246 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.344301647040993]