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.001619/0.001619, allocations: 111.7 kB / 18.88 MB, free: 2.871 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.001724/0.001724, allocations: 202.3 kB / 22.17 MB, free: 5.18 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.653/2.653, allocations: 443.5 MB / 0.732 GB, free: 12.51 MB / 0.5919 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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 1.061 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.898, allocations: 160.7 MB / 1.218 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003489/0.9014, allocations: 1.797 MB / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.9028, allocations: 0.6368 MB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.9029, allocations: 2.062 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.9031, allocations: 33.94 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.9035, allocations: 131.5 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.9039, allocations: 163 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.9042, allocations: 238 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9043, allocations: 27.42 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.9045, allocations: 106.8 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008166/0.9126, allocations: 1.064 MB / 1.222 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.9127, allocations: 16.91 kB / 1.222 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.9128, allocations: 36.66 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.9129, allocations: 41.25 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.9131, allocations: 101.5 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.9136, allocations: 223.8 kB / 1.223 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9136, allocations: 0 / 1.223 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9136, allocations: 0 / 1.223 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.9136, allocations: 0 / 1.223 GB, free: 0.9727 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.0009734/0.9145, allocations: 0.5536 MB / 1.223 GB, free: 440 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9146, allocations: 9.781 kB / 1.223 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.9147, allocations: 28.47 kB / 1.223 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.9151, allocations: 246.1 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.9151, allocations: 11.94 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.9152, allocations: 19.53 kB / 1.224 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.9154, allocations: 110 kB / 1.224 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9154, allocations: 0 / 1.224 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.9155, allocations: 13.09 kB / 1.224 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9155, allocations: 2.125 kB / 1.224 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.9156, allocations: 64.17 kB / 1.224 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.9167, allocations: 485.1 kB / 1.224 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.917, allocations: 99.89 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.917, allocations: 36.58 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.9171, allocations: 5.047 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.9172, allocations: 102.5 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.9172, allocations: 1.188 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004162/0.9177, allocations: 181.8 kB / 1.225 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9177, allocations: 63.67 kB / 1.225 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.918, allocations: 206.8 kB / 1.225 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.918, allocations: 34.05 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.9181, allocations: 126.9 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.9182, allocations: 41.11 kB / 1.225 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.9183, allocations: 63.66 kB / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9185, allocations: 328.7 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.9186, allocations: 69.69 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.9189, allocations: 124.4 kB / 1.226 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.9192, allocations: 215.1 kB / 1.226 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9192, allocations: 0 / 1.226 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006515/0.9199, allocations: 334.5 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/0.9199, allocations: 68.34 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9199, allocations: 6.562 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.92, allocations: 6.875 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.9201, allocations: 17.5 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.9201, allocations: 2.781 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.9203, allocations: 26.75 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.9203, allocations: 12.77 kB / 1.226 GB, free: 13.91 MB / 0.9356 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.0001709/0.9205, allocations: 143.9 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.9205, allocations: 15.66 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.9208, allocations: 148.4 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.9208, allocations: 10.25 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9208, allocations: 0 / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9208, allocations: 0 / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.9215, allocations: 499.3 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9215, allocations: 0 / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.9215, allocations: 10.06 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9215, allocations: 0 / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9215, allocations: 5.188 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9215, allocations: 5.172 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9215, allocations: 4 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.9218, allocations: 234.8 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.9219, allocations: 100.8 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.922, allocations: 2.125 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.9221, allocations: 15.52 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.9221, allocations: 15.55 kB / 1.227 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.9222, allocations: 11.17 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001545/0.9223, allocations: 147.2 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9223, allocations: 1.062 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003328/0.9227, allocations: 47.27 kB / 1.228 GB, free: 12.79 MB / 0.9356 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.0004048/0.9231, allocations: 176.3 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.9235, allocations: 240.9 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9235, allocations: 1.125 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.9236, allocations: 50.92 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.9241, allocations: 71 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.9248, allocations: 325.2 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.9252, allocations: 0.7195 MB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.533e-05/0.9253, allocations: 46.06 kB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.9254, allocations: 29.08 kB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.9254, allocations: 0 / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.008465/0.9338, allocations: 3.618 MB / 1.233 GB, free: 8.473 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] 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: 8.758231428917497]