Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001219/0.001219, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.15 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.216/2.216, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.09 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2508, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002664/0.2535, allocations: 1.734 MB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2548, allocations: 0.9045 MB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2549, allocations: 4 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.255, allocations: 31.7 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.2553, allocations: 115.4 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2556, allocations: 153.5 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2559, allocations: 239.4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.256, allocations: 41.66 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2561, allocations: 111.7 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008977/0.2651, allocations: 1.666 MB / 1.024 GB, free: 5.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2652, allocations: 20 kB / 1.024 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.2653, allocations: 43.92 kB / 1.024 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.2653, allocations: 39.84 kB / 1.024 GB, free: 5.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2655, allocations: 91.56 kB / 1.024 GB, free: 5.09 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2658, allocations: 215.3 kB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2658, allocations: 3.938 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2658, allocations: 0 / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2658, allocations: 0 / 1.024 GB, free: 4.875 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007284/0.2665, allocations: 0.5567 MB / 1.025 GB, free: 4.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2666, allocations: 8.625 kB / 1.025 GB, free: 4.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.2666, allocations: 20.75 kB / 1.025 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.2669, allocations: 248.3 kB / 1.025 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.267, allocations: 11.98 kB / 1.025 GB, free: 3.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.267, allocations: 16 kB / 1.025 GB, free: 3.922 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2672, allocations: 113.2 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2672, allocations: 4 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2672, allocations: 4 kB / 1.025 GB, free: 3.793 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2672, allocations: 4 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2673, allocations: 58.25 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.2681, allocations: 0.5318 MB / 1.026 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2683, allocations: 93.08 kB / 1.026 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.2683, allocations: 45.77 kB / 1.026 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.2684, allocations: 3.984 kB / 1.026 GB, free: 2.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.2686, allocations: 133.1 kB / 1.026 GB, free: 2.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.2686, allocations: 0 / 1.026 GB, free: 2.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003053/0.2689, allocations: 169.4 kB / 1.026 GB, free: 2.664 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2689, allocations: 81.11 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2691, allocations: 200.1 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.2692, allocations: 37.83 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.2692, allocations: 124.3 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2693, allocations: 35.62 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.2694, allocations: 57.59 kB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.2695, allocations: 334.8 kB / 1.027 GB, free: 1.758 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.2695, allocations: 27.98 kB / 1.027 GB, free: 1.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2697, allocations: 146.6 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2699, allocations: 106 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2699, allocations: 4 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002389/0.2701, allocations: 168.7 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2702, allocations: 4 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2702, allocations: 4 kB / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2702, allocations: 0 / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.2703, allocations: 15.98 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2703, allocations: 4 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2705, allocations: 35.92 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2705, allocations: 8 kB / 1.027 GB, free: 1.188 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 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001156/0.2706, allocations: 139.5 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.2707, allocations: 15.81 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.2707, allocations: 17.53 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2707, allocations: 4 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2707, allocations: 0 / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2707, allocations: 3.984 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.2713, allocations: 466.2 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2713, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.2713, allocations: 15.92 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2713, allocations: 3.938 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2713, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2713, allocations: 7.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2714, allocations: 4 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2716, allocations: 232.1 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.2716, allocations: 92.86 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2716, allocations: 0 / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2718, allocations: 23.91 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.2718, allocations: 19.92 kB / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2719, allocations: 8 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001149/0.272, allocations: 144.5 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.272, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002899/0.2723, allocations: 51.89 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002657/0.2725, allocations: 165.1 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2728, allocations: 107.7 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2728, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.2729, allocations: 51.92 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2732, allocations: 62.38 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.2738, allocations: 292.3 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.274, allocations: 0.7281 MB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.814e-05/0.2741, allocations: 17.55 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2741, allocations: 23.42 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2741, allocations: 3.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.006647/0.2808, allocations: 3.673 MB / 1.034 GB, free: 10.77 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches