Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 113.2 kB / 16.37 MB, free: 6 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.001255/0.001255, allocations: 197.6 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.365/2.365, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 56.94 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003368/0.3219, allocations: 1.634 MB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3232, allocations: 0.5655 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.3233, allocations: 7.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3235, allocations: 23.8 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.324, allocations: 115.4 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3244, allocations: 143.7 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.3247, allocations: 215.5 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3249, allocations: 29.5 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3251, allocations: 99.72 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008947/0.334, allocations: 1.575 MB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.3341, allocations: 16 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3343, allocations: 39.98 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.3343, allocations: 43.77 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3345, allocations: 75.64 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.3349, allocations: 195.4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3349, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3349, allocations: 4 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3349, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007813/0.3357, allocations: 0.5177 MB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3357, allocations: 8.031 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.3358, allocations: 20.75 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3361, allocations: 244.6 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3362, allocations: 11.94 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.3362, allocations: 16 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3364, allocations: 81.59 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3364, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3364, allocations: 8 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3364, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.3365, allocations: 43.97 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.3373, allocations: 436.4 kB / 1.033 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3375, allocations: 74.48 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.3375, allocations: 28.86 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3376, allocations: 0 / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.3378, allocations: 87.38 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3378, allocations: 192 / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0003018/0.3381, allocations: 145.6 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3381, allocations: 59.39 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3383, allocations: 183.6 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3384, allocations: 33.7 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3385, allocations: 116 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3385, allocations: 31.78 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.3386, allocations: 49.69 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3388, allocations: 330.8 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.3388, allocations: 23.98 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3391, allocations: 119.6 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3392, allocations: 88.22 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3392, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002636/0.3395, allocations: 133.4 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3395, allocations: 4 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3395, allocations: 3.938 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3395, allocations: 12.06 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3396, allocations: 8 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3396, allocations: 4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3398, allocations: 23.83 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3398, allocations: 4 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (18): * Single equations (assignments): 18 * 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.0001892/0.34, allocations: 133.8 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.34, allocations: 15.81 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.3401, allocations: 21.34 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3401, allocations: 7.938 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3401, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3401, allocations: 7.984 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3406, allocations: 434.3 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3406, allocations: 0 / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.3407, allocations: 0 / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3407, allocations: 4 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3407, allocations: 7.984 kB / 1.035 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3407, allocations: 0 / 1.035 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3407, allocations: 4 kB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3409, allocations: 207.2 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.341, allocations: 92.89 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.341, allocations: 4 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.3411, allocations: 7.984 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3412, allocations: 15.98 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3412, allocations: 7.984 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001093/0.3413, allocations: 137.2 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3413, allocations: 0 / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002828/0.3416, allocations: 47.89 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000317/0.3419, allocations: 154.1 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.3421, allocations: 87.78 kB / 1.036 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3421, allocations: 3.938 kB / 1.036 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.3422, allocations: 35.98 kB / 1.036 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3426, allocations: 52.28 kB / 1.036 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3432, allocations: 270 kB / 1.036 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3435, allocations: 0.7163 MB / 1.037 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.3436, allocations: 25.55 kB / 1.037 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.3436, allocations: 23.42 kB / 1.037 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3436, allocations: 0 / 1.037 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of Templates: time 0.007309/0.3509, allocations: 3.28 MB / 1.04 GB, free: 4.652 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches