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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001123/0.001123, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001224/0.001224, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.52 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003121/0.3655, allocations: 1.783 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3666, allocations: 0.6162 MB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3667, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.3669, allocations: 19.84 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3673, allocations: 91.67 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3676, allocations: 135.3 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3678, allocations: 219.5 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.368, allocations: 29.48 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3681, allocations: 99.67 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02058/0.3887, allocations: 1.55 MB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.3888, allocations: 16 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3889, allocations: 35.97 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.389, allocations: 39.78 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3892, allocations: 79.62 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3895, allocations: 191.4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3895, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3895, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3896, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 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.0009176/0.3905, allocations: 0.5139 MB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3905, allocations: 8.031 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.3906, allocations: 20.75 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3909, allocations: 247.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.391, allocations: 19.92 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.391, allocations: 16 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3912, allocations: 76.77 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3912, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3912, allocations: 7.984 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3913, allocations: 4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.3914, allocations: 43.92 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.3922, allocations: 436.4 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3924, allocations: 74.48 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.3924, allocations: 28.8 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3925, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3926, allocations: 91.36 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.3926, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003099/0.3929, allocations: 129.6 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.393, allocations: 59.28 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3932, allocations: 194.8 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.3933, allocations: 33.69 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.3934, allocations: 116 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3934, allocations: 31.8 kB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3935, allocations: 57.66 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3937, allocations: 326.8 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.3937, allocations: 23.92 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.394, allocations: 118 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3941, allocations: 84.22 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3941, allocations: 4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002303/0.3944, allocations: 133.5 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3944, allocations: 8 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3944, allocations: 3.938 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3944, allocations: 4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3945, allocations: 11.94 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3945, allocations: 7.984 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3947, allocations: 19.84 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3947, allocations: 4 kB / 1.075 GB, free: 3.02 MB / 0.8262 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.0001345/0.3949, allocations: 129.8 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3949, allocations: 19.81 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.395, allocations: 21.34 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.395, allocations: 0 / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.395, allocations: 7.922 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.395, allocations: 0 / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.3956, allocations: 426.3 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3956, allocations: 3.984 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.3957, allocations: 11.97 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3957, allocations: 4 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3957, allocations: 4 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3957, allocations: 4 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3957, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.3959, allocations: 207.7 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.396, allocations: 96.86 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.396, allocations: 3.984 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.3961, allocations: 8 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.3962, allocations: 15.98 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3962, allocations: 11.92 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001319/0.3964, allocations: 133.2 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3964, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000291/0.3967, allocations: 47.98 kB / 1.076 GB, free: 1.785 MB / 0.8262 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.0003762/0.3971, allocations: 157.6 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3973, allocations: 94.66 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3973, allocations: 4.062 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.3974, allocations: 35.94 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3979, allocations: 55.14 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.3985, allocations: 314.8 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3988, allocations: 0.7124 MB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.3989, allocations: 29.47 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3989, allocations: 19.44 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3989, allocations: 0 / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of Templates: time 0.007432/0.4064, allocations: 3.21 MB / 1.081 GB, free: 13.17 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches