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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001255/0.00126, allocations: 109.2 kB / 16.41 MB, free: 6.441 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.001236/0.001236, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8763, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003474/0.8798, allocations: 1.631 MB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.8811, allocations: 0.5655 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.8813, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.8815, allocations: 31.73 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.882, allocations: 111.5 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.8824, allocations: 143.7 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.8828, allocations: 231.4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.8829, allocations: 17.56 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.8831, allocations: 99.72 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009655/0.8928, allocations: 1.557 MB / 1.213 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.8929, allocations: 20 kB / 1.213 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.8931, allocations: 39.97 kB / 1.213 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.8931, allocations: 35.91 kB / 1.213 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.8933, allocations: 87.55 kB / 1.213 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.8937, allocations: 195.4 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.8937, allocations: 4 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8937, allocations: 0 / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.8938, allocations: 0 / 1.213 GB, free: 9.281 MB / 0.9356 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.0008435/0.8946, allocations: 0.5273 MB / 1.214 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8947, allocations: 8.031 kB / 1.214 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.8948, allocations: 24.75 kB / 1.214 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.8951, allocations: 235.9 kB / 1.214 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8951, allocations: 7.938 kB / 1.214 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.8951, allocations: 16 kB / 1.214 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.8953, allocations: 79.91 kB / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8953, allocations: 0 / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.8954, allocations: 8 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8954, allocations: 0 / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.8955, allocations: 51.91 kB / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.8963, allocations: 432.4 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.8965, allocations: 70.55 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.8966, allocations: 28.86 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.8966, allocations: 4 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.8968, allocations: 91.44 kB / 1.215 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.8968, allocations: 0 / 1.215 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0003114/0.8972, allocations: 137.3 kB / 1.215 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.8972, allocations: 51.41 kB / 1.215 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.8974, allocations: 195.1 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.8974, allocations: 33.7 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.8975, allocations: 116 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.8976, allocations: 31.62 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.8977, allocations: 53.69 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8978, allocations: 330.8 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.8978, allocations: 19.98 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.8981, allocations: 122.1 kB / 1.216 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.8982, allocations: 87.22 kB / 1.216 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8982, allocations: 7.938 kB / 1.216 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002173/0.8984, allocations: 137.4 kB / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8985, allocations: 4 kB / 1.216 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8985, allocations: 3.938 kB / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.8985, allocations: 4 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.8986, allocations: 8 kB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.8986, allocations: 7.938 kB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.8988, allocations: 19.89 kB / 1.216 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.8988, allocations: 4.125 kB / 1.216 GB, free: 6.094 MB / 0.9356 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.0001305/0.8989, allocations: 147 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.899, allocations: 15.81 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.899, allocations: 21.34 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.899, allocations: 0 / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.899, allocations: 0 / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8991, allocations: 3.984 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.8996, allocations: 426.3 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8996, allocations: 4 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.8996, allocations: 3.938 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8996, allocations: 4.047 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.8997, allocations: 15.97 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.8997, allocations: 0 / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8997, allocations: 3.938 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.8999, allocations: 199.3 kB / 1.217 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.8999, allocations: 88.92 kB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.9, allocations: 8 kB / 1.217 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.9001, allocations: 7.984 kB / 1.217 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.9001, allocations: 15.98 kB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.9002, allocations: 7.984 kB / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001086/0.9003, allocations: 132.1 kB / 1.217 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9003, allocations: 0 / 1.217 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003171/0.9006, allocations: 43.98 kB / 1.217 GB, free: 4.863 MB / 0.9356 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.0003512/0.901, allocations: 164.7 kB / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.9012, allocations: 83.91 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.9012, allocations: 0 / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.9013, allocations: 35.98 kB / 1.217 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.9017, allocations: 60.16 kB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.9023, allocations: 293 kB / 1.218 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.9026, allocations: 0.7166 MB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.9027, allocations: 27.42 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.9027, allocations: 0 / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.005675/0.9084, allocations: 2.934 MB / 1.221 GB, free: 0.5469 MB / 0.9356 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/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