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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001701/0.001701, allocations: 199.1 kB / 16.14 MB, free: 6.645 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.33 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003477/0.3392, allocations: 1.796 MB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3404, allocations: 0.6046 MB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3406, allocations: 3.938 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.3408, allocations: 27.84 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3412, allocations: 75.73 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3415, allocations: 147.7 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.3418, allocations: 203.5 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3419, allocations: 25.48 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.3421, allocations: 87.73 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02066/0.3628, allocations: 1.44 MB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3629, allocations: 8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3631, allocations: 24 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.3632, allocations: 35.78 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3633, allocations: 75.62 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3637, allocations: 183.4 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3637, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3637, allocations: 3.938 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3637, allocations: 0 / 1.057 GB, free: 3.809 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.0008999/0.3646, allocations: 0.5217 MB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.3647, allocations: 15.97 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3647, allocations: 38.73 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.3648, allocations: 20.75 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3652, allocations: 243.6 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3652, allocations: 8 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.3652, allocations: 16 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3654, allocations: 77.66 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3654, allocations: 4 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3655, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3655, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3656, allocations: 46.64 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.3665, allocations: 444.4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3666, allocations: 74.55 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.3667, allocations: 28.86 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3667, allocations: 3.938 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.3669, allocations: 87.5 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.3669, allocations: 4 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0003073/0.3672, allocations: 133.3 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3673, allocations: 59.41 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3675, allocations: 187 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3675, allocations: 29.7 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.3676, allocations: 116 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3676, allocations: 35.77 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.3677, allocations: 49.69 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3679, allocations: 330.8 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.3679, allocations: 23.98 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3682, allocations: 121.3 kB / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3683, allocations: 88.22 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3683, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002401/0.3686, allocations: 135.7 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3686, allocations: 7.938 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3686, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3686, allocations: 7.938 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.3687, allocations: 20.12 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3687, allocations: 0 / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3689, allocations: 19.83 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3689, allocations: 12 kB / 1.06 GB, free: 0.5586 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.0001425/0.3691, allocations: 129.8 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3691, allocations: 19.75 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.3692, allocations: 17.41 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3692, allocations: 0 / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.3692, allocations: 8 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3692, allocations: 3.984 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.3699, allocations: 426.2 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3699, allocations: 48 / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.3699, allocations: 7.984 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3699, allocations: 0 / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3699, allocations: 3.984 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3699, allocations: 3.938 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.37, allocations: 4 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.3702, allocations: 207.2 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.3703, allocations: 88.95 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3703, allocations: 8 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3705, allocations: 7.984 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.3706, allocations: 11.98 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3706, allocations: 11.98 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3707, allocations: 141.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3707, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003283/0.3711, allocations: 43.89 kB / 1.061 GB, free: 15.34 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.0007507/0.3718, allocations: 0.8056 MB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3721, allocations: 75.09 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3721, allocations: 4.062 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.3721, allocations: 39.92 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3726, allocations: 49.92 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3747, allocations: 1.805 MB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.375, allocations: 0.7202 MB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.866e-05/0.3751, allocations: 21.53 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.3752, allocations: 47.34 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3752, allocations: 8 kB / 1.064 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.3914, allocations: 4.666 MB / 1.069 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.3917, allocations: 278.4 kB / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.276, allocations: 0 / 1.069 GB, free: 6.789 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > 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