Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.001586, allocations: 102 kB / 16.41 MB, free: 6.488 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.001868/0.001868, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.042, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002777/1.045, allocations: 1.738 MB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001405/1.047, allocations: 0.8946 MB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/1.047, allocations: 1 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/1.047, allocations: 23.16 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003988/1.047, allocations: 126.1 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/1.048, allocations: 156.5 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/1.048, allocations: 243.3 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/1.048, allocations: 33.5 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/1.048, allocations: 107.4 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009687/1.058, allocations: 1.71 MB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/1.058, allocations: 18.66 kB / 1.094 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/1.058, allocations: 37.08 kB / 1.094 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/1.058, allocations: 40.61 kB / 1.094 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/1.059, allocations: 92.34 kB / 1.094 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/1.059, allocations: 216.8 kB / 1.094 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.059, allocations: 0 / 1.094 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/1.059, allocations: 0.875 kB / 1.094 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.059, allocations: 0 / 1.094 GB, free: 2.754 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008506/1.06, allocations: 0.5504 MB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.06, allocations: 9.844 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/1.06, allocations: 19.77 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/1.06, allocations: 250 kB / 1.095 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.06, allocations: 10.33 kB / 1.095 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/1.06, allocations: 15.89 kB / 1.095 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/1.061, allocations: 89.41 kB / 1.095 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.061, allocations: 4 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.061, allocations: 1.781 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.061, allocations: 2.406 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.061, allocations: 60.12 kB / 1.095 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/1.062, allocations: 457.2 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/1.062, allocations: 140.7 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/1.062, allocations: 33.33 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/1.062, allocations: 0.8438 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/1.063, allocations: 117.7 kB / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/1.063, allocations: 0 / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004272/1.063, allocations: 167.3 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.063, allocations: 59.69 kB / 1.096 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/1.063, allocations: 201.1 kB / 1.096 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/1.063, allocations: 34.41 kB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/1.063, allocations: 125.9 kB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/1.063, allocations: 36.03 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.064, allocations: 58.67 kB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/1.064, allocations: 329.4 kB / 1.097 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/1.064, allocations: 34.73 kB / 1.097 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/1.064, allocations: 134.3 kB / 1.097 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.064, allocations: 106.7 kB / 1.097 GB, free: 440 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.064, allocations: 0 / 1.097 GB, free: 440 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002857/1.064, allocations: 150.3 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.064, allocations: 10.17 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.064, allocations: 1.125 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.065, allocations: 6.438 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/1.065, allocations: 16.78 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.065, allocations: 7.578 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/1.065, allocations: 24.53 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.065, allocations: 9.547 kB / 1.097 GB, free: 336 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001563/1.065, allocations: 146 kB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/1.065, allocations: 16.34 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/1.065, allocations: 23.89 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.065, allocations: 2.219 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.065, allocations: 0.5156 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.065, allocations: 1.812 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/1.066, allocations: 497.9 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.066, allocations: 0.9375 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/1.066, allocations: 11.86 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.066, allocations: 1.359 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.066, allocations: 6.297 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/1.066, allocations: 5.062 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.066, allocations: 0.75 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/1.067, allocations: 221.6 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/1.067, allocations: 95 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/1.067, allocations: 6.094 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/1.067, allocations: 18.89 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.067, allocations: 24.31 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/1.067, allocations: 7.25 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001884/1.067, allocations: 141.7 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.91e-07/1.067, allocations: 0 / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004067/1.068, allocations: 49.06 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004828/1.068, allocations: 165.3 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003326/1.069, allocations: 108.5 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/1.069, allocations: 0.9375 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/1.069, allocations: 57.72 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/1.069, allocations: 52.52 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/1.07, allocations: 338.9 kB / 1.099 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.071, allocations: 0.7275 MB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/1.071, allocations: 22.84 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.071, allocations: 0 / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.009044/1.08, allocations: 3.232 MB / 1.103 GB, free: 13.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches