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.001775/0.001775, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.002195/0.002195, allocations: 221.1 kB / 22.26 MB, free: 5.215 MB / 14.72 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 1.588/1.588, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.376/3.376, allocations: 0.49 GB / 0.7951 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 70.56 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4003, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003915/0.4042, allocations: 1.814 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4057, allocations: 0.6353 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.4059, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.4061, allocations: 31.72 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.4067, allocations: 119.5 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.4072, allocations: 162.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.4077, allocations: 247.4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4079, allocations: 29.97 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.4081, allocations: 115.7 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008685/0.4168, allocations: 1.056 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4169, allocations: 16 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.4171, allocations: 32 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4172, allocations: 43.84 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.4174, allocations: 91.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.4179, allocations: 227.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4179, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4179, allocations: 8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.4179, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 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.001005/0.4189, allocations: 0.4927 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.419, allocations: 8.031 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.419, allocations: 46.67 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.4191, allocations: 28.73 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4195, allocations: 191 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4195, allocations: 12.38 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4196, allocations: 19.94 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.4198, allocations: 109.6 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4199, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4199, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4199, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.42, allocations: 63.81 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4211, allocations: 455.4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4214, allocations: 98.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.4215, allocations: 28.84 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.4215, allocations: 8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.4217, allocations: 111.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 5.11e-06/0.4217, allocations: 3.984 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003958/0.4221, allocations: 176.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4222, allocations: 59.39 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.4224, allocations: 207.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.4225, allocations: 29.7 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4226, allocations: 132.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.4226, allocations: 43.69 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4227, allocations: 57.67 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4229, allocations: 334.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4231, allocations: 59.95 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.4233, allocations: 134 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.4237, allocations: 213.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4237, allocations: 3.984 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006253/0.4243, allocations: 337.6 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.4244, allocations: 67.33 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4244, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4244, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.4245, allocations: 23.92 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.4245, allocations: 4 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.4247, allocations: 23.88 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.4247, allocations: 16.16 kB / 1.334 GB, free: 9.762 MB / 1.029 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.000147/0.4249, allocations: 140.3 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.4249, allocations: 23.8 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.4252, allocations: 151.4 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4252, allocations: 3.938 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4252, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4252, allocations: 3.984 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.4258, allocations: 461.3 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4258, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.4258, allocations: 8 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4258, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4259, allocations: 7.984 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4259, allocations: 0 / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4259, allocations: 0 / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.4261, allocations: 245.6 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.4262, allocations: 27.89 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4262, allocations: 4 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4263, allocations: 7.984 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.4264, allocations: 19.97 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4264, allocations: 8 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001358/0.4266, allocations: 145.5 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4266, allocations: 0 / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003292/0.4269, allocations: 51.88 kB / 1.335 GB, free: 8.398 MB / 1.029 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.0008767/0.4278, allocations: 0.8456 MB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4282, allocations: 248.9 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4282, allocations: 4 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.4283, allocations: 39.98 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4287, allocations: 61.75 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.4318, allocations: 2.262 MB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4322, allocations: 0.7319 MB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.4323, allocations: 34.02 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4324, allocations: 59.41 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4324, allocations: 0 / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.4707, allocations: 5.723 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.91, allocations: 1.5 kB / 1.345 GB, free: 14.38 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.009071114938706]