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.001496/0.001496, allocations: 107.1 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.001641/0.001641, 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 64.58 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003168/0.2967, allocations: 1.638 MB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2978, allocations: 0.5656 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.2979, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.2982, allocations: 35.73 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2985, allocations: 107.5 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.2989, allocations: 147.7 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2992, allocations: 215.4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2993, allocations: 25.55 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2994, allocations: 99.73 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009183/0.3086, allocations: 1.575 MB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.3087, allocations: 16 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3088, allocations: 35.98 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.3089, allocations: 39.84 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.309, allocations: 83.62 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3094, allocations: 195.3 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3094, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3094, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3094, allocations: 4 kB / 1.031 GB, free: 13.72 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.0007026/0.3101, allocations: 0.5178 MB / 1.032 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3101, allocations: 8.031 kB / 1.032 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.3102, allocations: 16.75 kB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3105, allocations: 252.6 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3105, allocations: 11.88 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3105, allocations: 12 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3107, allocations: 81.67 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3107, allocations: 3.984 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3108, allocations: 3.938 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3108, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.3109, allocations: 39.98 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.3116, allocations: 440.4 kB / 1.033 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3117, allocations: 70.55 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.3118, allocations: 28.84 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3118, allocations: 3.984 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.312, allocations: 87.5 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.312, allocations: 4 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0002912/0.3123, allocations: 133.4 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3124, allocations: 55.41 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3126, allocations: 191.6 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3126, allocations: 33.7 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.3127, allocations: 116 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3127, allocations: 23.8 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.3128, allocations: 53.67 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3129, allocations: 326.8 kB / 1.034 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.313, allocations: 27.98 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3132, allocations: 118.3 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3134, allocations: 91.84 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3134, allocations: 0 / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002097/0.3136, allocations: 141.4 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3136, allocations: 8 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3136, allocations: 3.938 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3136, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.3137, allocations: 20.11 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.3137, allocations: 4 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3139, allocations: 19.84 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3139, allocations: 4 kB / 1.034 GB, free: 10.54 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.0001248/0.3141, allocations: 133.8 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3141, allocations: 19.75 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.3141, allocations: 21.33 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3141, allocations: 4 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3142, allocations: 4 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3142, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.3147, allocations: 426.3 kB / 1.035 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3147, allocations: 3.984 kB / 1.035 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.3147, allocations: 7.984 kB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3147, allocations: 0 / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3147, allocations: 7.938 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3147, allocations: 4 kB / 1.035 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3147, allocations: 3.938 kB / 1.035 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.3149, allocations: 211.7 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.315, allocations: 88.95 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.315, allocations: 7.984 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.3151, allocations: 4 kB / 1.035 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.3152, allocations: 15.98 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3152, allocations: 7.984 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001192/0.3154, allocations: 129.2 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3154, allocations: 4 kB / 1.035 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002982/0.3157, allocations: 43.89 kB / 1.035 GB, free: 9.309 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.0003459/0.316, allocations: 169 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3162, allocations: 79.84 kB / 1.036 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3162, allocations: 0 / 1.036 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.3163, allocations: 32 kB / 1.036 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.3167, allocations: 63.66 kB / 1.036 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.3173, allocations: 270.9 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3177, allocations: 0.7124 MB / 1.037 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.725e-05/0.3177, allocations: 21.53 kB / 1.037 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3178, allocations: 19.44 kB / 1.037 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of SimCode: time 6.12e-07/0.3178, allocations: 4 kB / 1.037 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of Templates: time 0.006949/0.3248, allocations: 3.285 MB / 1.04 GB, free: 4.672 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 gbode -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