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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 107 kB / 16.37 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 195.8 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.78 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2507, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002753/0.2535, allocations: 1.775 MB / 1.021 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2546, allocations: 0.6235 MB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.2546, allocations: 4 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.2548, allocations: 23.73 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.2551, allocations: 127.4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.2555, allocations: 158.9 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.2557, allocations: 243.4 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2558, allocations: 49.58 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.256, allocations: 111.6 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/0.2616, allocations: 1.044 MB / 1.023 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.2617, allocations: 20 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.2618, allocations: 36 kB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.2618, allocations: 39.78 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.2619, allocations: 107.4 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2622, allocations: 215.3 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2622, allocations: 3.984 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2622, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.2623, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 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.00069/0.263, allocations: 0.5527 MB / 1.024 GB, free: 4.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.263, allocations: 8.031 kB / 1.024 GB, free: 4.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.2631, allocations: 28.64 kB / 1.024 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2634, allocations: 253.6 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2634, allocations: 12.38 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.2634, allocations: 20.12 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2636, allocations: 107.7 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2636, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2636, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2637, allocations: 7.984 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2638, allocations: 59.95 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.2645, allocations: 0.4884 MB / 1.025 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.2648, allocations: 106.6 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.2649, allocations: 36.89 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2649, allocations: 7.984 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.265, allocations: 103.3 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.265, allocations: 4 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0003185/0.2654, allocations: 169.3 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.2654, allocations: 63.39 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.2656, allocations: 203.6 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2657, allocations: 37.7 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.2658, allocations: 120.5 kB / 1.026 GB, free: 2.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2658, allocations: 43.44 kB / 1.026 GB, free: 2.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.2659, allocations: 61.67 kB / 1.026 GB, free: 2.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.266, allocations: 330.8 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2662, allocations: 63.95 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2664, allocations: 123.7 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2666, allocations: 213.3 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2666, allocations: 4 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005224/0.2672, allocations: 326.9 kB / 1.027 GB, free: 1.758 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.2672, allocations: 71.55 kB / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2672, allocations: 7.922 kB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2673, allocations: 4 kB / 1.027 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.2673, allocations: 19.88 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2674, allocations: 4 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2675, allocations: 31.77 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2676, allocations: 11.98 kB / 1.027 GB, free: 1.598 MB / 0.795 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.0001153/0.2677, allocations: 144 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.2677, allocations: 23.72 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.2679, allocations: 150.2 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2679, allocations: 4 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.268, allocations: 3.938 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.268, allocations: 0 / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.2685, allocations: 486.2 kB / 1.028 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2685, allocations: 3.984 kB / 1.028 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.2685, allocations: 11.94 kB / 1.028 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2686, allocations: 4 kB / 1.028 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2686, allocations: 4 kB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.2686, allocations: 4 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2686, allocations: 3.984 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2688, allocations: 239.1 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.2689, allocations: 104.8 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2689, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.269, allocations: 11.98 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.2691, allocations: 23.98 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2691, allocations: 7.984 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2692, allocations: 148.2 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2692, allocations: 0 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002978/0.2695, allocations: 47.91 kB / 1.028 GB, free: 108 kB / 0.795 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.0003073/0.2698, allocations: 171.3 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.2702, allocations: 258.5 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2702, allocations: 4.312 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.2703, allocations: 50.66 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.2707, allocations: 66.2 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.2712, allocations: 307.4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2715, allocations: 0.7242 MB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.973e-05/0.2716, allocations: 33.91 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.2716, allocations: 23.44 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2716, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.006342/0.278, allocations: 3.56 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches